Skip to content

az containerapp CLI doesn't support adding storage volume mounts #9127

Description

@venkatadorisala-lnrs

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Auto-AssignAuto assign by botContainerAppService AttentionThis issue is responsible by Azure service team.bugThis issue requires a change to an existing behavior in the product in order to be resolved.customer-reportedIssues that are reported by GitHub users external to the Azure organization.questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions