Azure / Azure/azure-cli

az containerapp update - support for init containers

Open
#27,538 7 comments 14 reactions 0 assignees View on GitHub
act-observability-squad Auto-Assign ContainerApp customer-reported Service Attention
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

**Related command**
az containerapp update

**Is your feature request related to a problem? Please describe.**
Currently we can update containers in an app by specifying `--container-name`. This does not work for init containers, instead it will create a new app container using the specified name.

**Describe the solution you'd like**
Add the possibility to update an init container alongside with updating an app.

**Additional context**
When creating a new deployment it is a common scenario to have a init container doing tasks like migrations. Ideally this init container have versioned labels to ensure consistency in deployment. This means that it is needed to update the image for both, the app and the init container at the same time.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.