-
Notifications
You must be signed in to change notification settings - Fork 3.4k
az containerapp job start --image <image> voids environment variables #27521
Copy link
Copy link
Open
Labels
Auto-AssignAuto assign by botAuto assign by botAuto-ResolveAuto resolve by botAuto resolve by botContainerAppService AttentionThis issue is responsible by Azure service team.This issue is responsible by Azure service team.act-observability-squadbugThis 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.
Metadata
Metadata
Assignees
Labels
Auto-AssignAuto assign by botAuto assign by botAuto-ResolveAuto resolve by botAuto resolve by botContainerAppService AttentionThis issue is responsible by Azure service team.This issue is responsible by Azure service team.act-observability-squadbugThis 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.
Describe the bug
When running
az containerapp job startwith the image tag specified, my job env vars are not retained, but when I simply name the job they are.The reason I even care is that when I update the job and trigger it the previous container is often run.
Related command
az containerapp job start
Errors
The error is that my environment variables are voided when using the --image flag
Issue script & Debug output
The error is that my environment variables are voided when using the --image flag
Expected behavior
That my environment variables are only voided when I deliberately void them
Environment Summary
azure-cli 2.52.0 *
core 2.52.0 *
telemetry 1.1.0
Extensions:
azure-devops 0.26.0
containerapp 0.3.41
Dependencies:
msal 1.24.0b1
azure-mgmt-resource 23.1.0b2
Additional context
No response