-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Labels
Auto-AssignAuto assign by botAuto assign by botContainerAppService AttentionThis issue is responsible by Azure service team.This issue is responsible by Azure service team.bugThis issue requires a change to an existing behavior in the product in order to be resolved.This 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.Issues that are reported by GitHub users external to the Azure organization.
Description
Describe the bug
When attempting to pass runtime arguments to a container using the az containerapp CLI, arguments that begin with double dashes (e.g., --config=...) are incorrectly parsed as CLI flags rather than container arguments.
Related command
az containerapp update
--name my-containerapp
--resource-group my-resourcegroup
--args "--config=/etc/otel/config.yaml"
Errors
Issue script & Debug output
Expected behavior
The container should receive --config=/etc/otel-contrib/config.yaml as a runtime argument.
Environment Summary
Additional context
Please note when run via terraform the above works, only via cli it fails
No response
venkatadorisala-lnrs
Metadata
Metadata
Assignees
Labels
Auto-AssignAuto assign by botAuto assign by botContainerAppService AttentionThis issue is responsible by Azure service team.This issue is responsible by Azure service team.bugThis issue requires a change to an existing behavior in the product in order to be resolved.This 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.Issues that are reported by GitHub users external to the Azure organization.