- remember to check target port in Ingress and make sure it matches what is exposed. Azure does not always tell you this
az containerapp env storage set --name [ACA Managed Environment Name] --resource-group [Resource Group] --storage-name [try to make this consistent with the folder mounted] --azure-file-account-name [Azure Storage Account with file share name] --azure-file-account-key [get this from the file share in the Portal] --azure-file-share-name [file share name] --access-mode ReadWriteaz containerapp show -n [ACA name] -g [resource group] -o yaml > app.yamlnano app.yamlaz containerapp update --name [ACA name] --resource-group [resource group] --yaml app.yamlExample volumeMounts:
volumeMounts:
- mountPath: /app/name
volumeName: name- In my experience making the
mountPathfinal dir name and thevolumeNamethe same makes things a lot simpler. - In my case, it made the most sense to mount to
app, but it is worth trying mounting inmnt.