azure-cli-extensions icon indicating copy to clipboard operation
azure-cli-extensions copied to clipboard

az containerapp CLI doesn't support adding storage volume mounts

Open venkatadorisala-lnrs opened this issue 4 months ago • 2 comments

Describe the bug

We want to mount storage file share as volume in our container app so the files can be mounted in the containers. we want to achieve this using CLI. We are aware that it works through YAML config but we don't keep our config in the YAML. Instead we directly want to use CLI to update container app with storage volume mounts.

https://learn.microsoft.com/en-us/cli/azure/containerapp?view=azure-cli-latest#az-containerapp-update(containerapp)

Related command

az containerapp update --name my-containerapp --resource-group my-resourcegroup

Errors

adding storage volume mounts through azure containerapp command doesn't seem to be supported.

Issue script & Debug output

Currently the documentation doesn't state the support for storage volume mounts through azure CLI.

Expected behavior

az containerapp update --name my-containerapp --resource-group my-resourcegroup --storage-volume-mount "share/config.yaml"

Environment Summary

azure-cli : 2.77.0

Additional context

No response

venkatadorisala-lnrs avatar Sep 03 '25 22:09 venkatadorisala-lnrs

Thank you for opening this issue, we will look into it.

yonzhan avatar Sep 03 '25 22:09 yonzhan

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @howang-ms, @Greedygre.