-
Notifications
You must be signed in to change notification settings - Fork 3.4k
webapp config container set overwrites DOCKER_* app settings #21907
Copy link
Copy link
Open
Labels
App Servicesaz appserviceaz appserviceAuto-AssignAuto assign by botAuto assign by botService AttentionThis issue is responsible by Azure service team.This issue is responsible by Azure service team.Web Appsaz webappaz webappact-observability-squadapp-service-linux-containerscustomer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.feature-request
Milestone
Metadata
Metadata
Assignees
Labels
App Servicesaz appserviceaz appserviceAuto-AssignAuto assign by botAuto assign by botService AttentionThis issue is responsible by Azure service team.This issue is responsible by Azure service team.Web Appsaz webappaz webappact-observability-squadapp-service-linux-containerscustomer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.feature-request
Describe the bug
When using the
webapp config container setcommand to apply a new container image to an Azure App Service app deployment slot, the following occurs:DOCKER_REGISTRY_SERVER,DOCKER_REGISTRY_USERNAME,DOCKER_REGISTRY_PASSWORD) are overwritten withdocker-registry-server-urlpassed to thewebapp config container setcommandwebapp config container setcommandSo, if you set those settings in app settings and the deployment center to point to values that are key vault references, then every deploy overwrites them with the raw values.
To Reproduce
DOCKER_*settings, their values now contain raw values.Expected behavior
Deploys using the
webapp config container setcommand do not overwrite deployment center values or app settings with raw values where they were previously set to key vault references.Environment summary
We're running this series of steps inside a GitHub action using: