Azure / Azure/azure-cli-extensions
az containerapp CLI doesn't support adding storage volume mounts
- Dominant language
- Python
- Stars
- 454
- Forks
- 1.7k
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 64
Description
### 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_
Contributor guide
Assessment
This issue has not been assessed yet.