az acr helm

Manage helm charts for Azure Container Registries.

Commands

az acr helm delete

Delete a helm chart version in an Azure Container Registry.

az acr helm install-cli

Download and install Helm command-line tool.

az acr helm list

List all helm charts in an Azure Container Registry.

az acr helm push

Push a helm chart package to an Azure Container Registry.

az acr helm repo

Manage helm chart repositories for Azure Container Registries.

az acr helm repo add

Add a helm chart repository from an Azure Container Registry through the Helm CLI.

az acr helm show

Describe a helm chart in an Azure Container Registry.

az acr helm delete

Delete a helm chart version in an Azure Container Registry.

az acr helm delete --name
                   [--password]
                   [--prov]
                   [--resource-group]
                   [--subscription]
                   [--suffix]
                   [--username]
                   [--version]
                   [--yes]
                   [<CHART>]

Examples

Delete all versions of a helm chart in an Azure Container Registry

az acr helm delete -n MyRegistry mychart

Delete a helm chart version in an Azure Container Registry

az acr helm delete -n MyRegistry mychart --version 0.3.2

Required Parameters

--name -n

The name of the container registry. You can configure the default registry name using az configure --defaults acr=<registry name>.

Optional Parameters

--password -p

The password used to log into a container registry.

--prov

Only delete the provenance file.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--suffix

The tenant suffix in registry login server. You may specify '--suffix tenant' if your registry login server is in the format 'registry-tenant.azurecr.io'. Applicable if you're accessing the registry from a different subscription or you have permission to access images but not the permission to manage the registry resource.

--username -u

The username used to log into a container registry.

--version

The helm chart version.

--yes -y

Do not prompt for confirmation.

<CHART>

The helm chart name.

az acr helm install-cli

Download and install Helm command-line tool.

az acr helm install-cli [--client-version]
                        [--install-location]
                        [--subscription]
                        [--yes]

Examples

Install the default version of Helm CLI to the default location

az acr helm install-cli

Install a specified version of Helm CLI to the default location

az acr helm install-cli --client-version x.x.x

Install the default version of Helm CLI to a specified location

az acr helm install-cli --install-location /folder/filename

Install a specified version of Helm CLI to a specified location

az acr helm install-cli --client-version x.x.x --install-location /folder/filename

Optional Parameters

--client-version

The target Helm CLI version. (Attention: Currently, Helm 3 does not work with "az acr helm" commands).

default value: 2.16.3
--install-location

Path at which to install Helm CLI (Existing one at the same path will be overwritten).

default value: ~/.azure-helm/helm.exe
--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--yes -y

Agree to the license of Helm, and do not prompt for confirmation.

az acr helm list

List all helm charts in an Azure Container Registry.

az acr helm list --name
                 [--password]
                 [--query-examples]
                 [--resource-group]
                 [--subscription]
                 [--suffix]
                 [--username]

Examples

List all helm charts in an Azure Container Registry

az acr helm list -n MyRegistry

Required Parameters

--name -n

The name of the container registry. You can configure the default registry name using az configure --defaults acr=<registry name>.

Optional Parameters

--password -p

The password used to log into a container registry.

--query-examples

Recommend JMESPath string for you. You can copy one of the query and paste it after --query parameter within double quotation marks to see the results. You can add one or more positional keywords so that we can give suggestions based on these key words.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--suffix

The tenant suffix in registry login server. You may specify '--suffix tenant' if your registry login server is in the format 'registry-tenant.azurecr.io'. Applicable if you're accessing the registry from a different subscription or you have permission to access images but not the permission to manage the registry resource.

--username -u

The username used to log into a container registry.

az acr helm push

Push a helm chart package to an Azure Container Registry.

az acr helm push --name
                 [--force]
                 [--password]
                 [--resource-group]
                 [--subscription]
                 [--suffix]
                 [--username]
                 [<CHART_PACKAGE>]

Examples

Push a chart package to an Azure Container Registry

az acr helm push -n MyRegistry mychart-0.3.2.tgz

Push a chart package to an Azure Container Registry, overwriting the existing one.

az acr helm push -n MyRegistry mychart-0.3.2.tgz --force

Required Parameters

--name -n

The name of the container registry. You can configure the default registry name using az configure --defaults acr=<registry name>.

Optional Parameters

--force

Overwrite the existing chart package.

--password -p

The password used to log into a container registry.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--suffix

The tenant suffix in registry login server. You may specify '--suffix tenant' if your registry login server is in the format 'registry-tenant.azurecr.io'. Applicable if you're accessing the registry from a different subscription or you have permission to access images but not the permission to manage the registry resource.

--username -u

The username used to log into a container registry.

<CHART_PACKAGE>

The helm chart package.

az acr helm show

Describe a helm chart in an Azure Container Registry.

az acr helm show --name
                 [--password]
                 [--query-examples]
                 [--resource-group]
                 [--subscription]
                 [--suffix]
                 [--username]
                 [--version]
                 [<CHART>]

Examples

Show all versions of a helm chart in an Azure Container Registry

az acr helm show -n MyRegistry mychart

Show a helm chart version in an Azure Container Registry

az acr helm show -n MyRegistry mychart --version 0.3.2

Required Parameters

--name -n

The name of the container registry. You can configure the default registry name using az configure --defaults acr=<registry name>.

Optional Parameters

--password -p

The password used to log into a container registry.

--query-examples

Recommend JMESPath string for you. You can copy one of the query and paste it after --query parameter within double quotation marks to see the results. You can add one or more positional keywords so that we can give suggestions based on these key words.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--suffix

The tenant suffix in registry login server. You may specify '--suffix tenant' if your registry login server is in the format 'registry-tenant.azurecr.io'. Applicable if you're accessing the registry from a different subscription or you have permission to access images but not the permission to manage the registry resource.

--username -u

The username used to log into a container registry.

--version

The helm chart version.

<CHART>

The helm chart name.