You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/container-registry/container-registry-helm-repos.md
+20-16Lines changed: 20 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,24 +9,24 @@ ms.date: 01/28/2020
9
9
10
10
To quickly manage and deploy applications for Kubernetes, you can use the [open-source Helm package manager][helm]. With Helm, application packages are defined as [charts](https://helm.sh/docs/topics/charts/), which are collected and stored in a [Helm chart repository](https://helm.sh/docs/topics/chart_repository/).
11
11
12
-
This article shows you how to host Helm charts in repositories in an Azure container registry, using either a Helm 2 or Helm 3 installation. For this example, you store an existing Helm chart from the public Helm *stable* repo. In many scenarios, you would build and upload your own charts for the applications you develop. For more information on how to build your own Helm charts, see the [Chart Template Developer's Guide][develop-helm-charts].
12
+
This article shows you how to host Helm charts in repositories in an Azure container registry, using either a Helm 3 or Helm 2 installation. For this example, you store an existing Helm chart from the public Helm *stable* repo. In many scenarios, you would build and upload your own charts for the applications you develop. For more information on how to build your own Helm charts, see the [Chart Template Developer's Guide][develop-helm-charts].
13
13
14
14
> [!IMPORTANT]
15
15
> Support for Helm charts in Azure Container Registry is currently in preview. Previews are made available to you on the condition that you agree to the supplemental [terms of use][terms-of-use]. Some aspects of this feature may change prior to general availability (GA).
16
16
17
-
## Helm 2 or Helm 3?
17
+
## Helm 3 or Helm 2?
18
18
19
-
To store, manage, and install Helm charts, you use a Helm client and the Helm CLI. Major releases of the Helm client include Helm 2 and Helm 3. Helm 3 supports a new chart format and no longer installs the Tiller server-side component. For details on the differences between Helm 2 and Helm 3, see the [version FAQ](https://helm.sh/docs/faq/). If you've previously deployed Helm 2 charts, see [Migrating Helm v2 to v3](https://helm.sh/docs/topics/v2_v3_migration/).
19
+
To store, manage, and install Helm charts, you use a Helm client and the Helm CLI. Major releases of the Helm client include Helm 3 and Helm 2. Helm 3 supports a new chart format and no longer installs the Tiller server-side component. For details on the version differences, see the [version FAQ](https://helm.sh/docs/faq/). If you've previously deployed Helm 2 charts, see [Migrating Helm v2 to v3](https://helm.sh/docs/topics/v2_v3_migration/).
20
20
21
-
You can use either Helm 2 or Helm 3 to host Helm charts in Azure Container Registry, with workflows specific to each version:
21
+
You can use either Helm 3 or Helm 2 to host Helm charts in Azure Container Registry, with workflows specific to each version:
22
22
23
23
*[Helm 3 client](#use-the-helm-3-client) - use `helm chart` commands to manage charts in your registry as [OCI artifacts](container-registry-image-formats.md#oci-artifacts)
24
-
*[Helm 2 client](#use-the-helm-2-client) - use [az acr helm][az-acr-helm] commands in the Azure CLI to add your container registry as a Helm chart repository
24
+
*[Helm 2 client](#use-the-helm-2-client) - use [az acr helm][az-acr-helm] commands in the Azure CLI to add and manage your container registry as a Helm chart repository
25
25
26
26
### Additional information
27
27
28
-
*Managing Helm charts as OCI artifacts in an Azure container registry is a recommended approach
29
-
* You can use legacy [az acr helm][az-acr-helm] Azure CLI commands and workflow with the Helm 3 client and charts. However, we recommend using the Helm 3 workflow with `helm chart` commands to manage charts as OCI artifacts. Certain commands such as `az acr helm list` aren't compatible with Helm 3 charts.
28
+
*We recommend using the Helm 3 workflow with native `helm chart` commands to manage charts as OCI artifacts.
29
+
* You can use legacy [az acr helm][az-acr-helm] Azure CLI commands and workflow with the Helm 3 client and charts. However, certain commands such as `az acr helm list` aren't compatible with Helm 3 charts.
30
30
* As of Helm 3, [az acr helm][az-acr-helm] commands are supported mainly for compatibility with the Helm 2 client and chart format. Future development of these commands isn't currently planned.
31
31
32
32
## Use the Helm 3 client
@@ -42,10 +42,10 @@ You can use either Helm 2 or Helm 3 to host Helm charts in Azure Container Regis
42
42
43
43
With **Helm 3** you:
44
44
45
-
* Can create *multiple*Helm repositories in a registry
46
-
* Store Helm 3 charts in an Azure container registry as [OCI artifacts](container-registry-image-formats.md#oci-artifacts). Currently, Helm 3 support for OCI is considered *experimental*.
47
-
* Use `helm chart` commands directly from the Helm CLI to push, pull, and manage Helm charts in an Azure container registry
48
-
* Authenticate with your Azure container registry via the Azure CLI, which then updates your Helm client automatically with the registry URI and credentials. You don't need to manually specify this registry information, so the credentials aren't exposed in the command history.
45
+
* Can create one or more Helm repositories in an Azure container registry
46
+
* Store Helm 3 charts in a registry as [OCI artifacts](container-registry-image-formats.md#oci-artifacts). Currently, Helm 3 support for OCI is considered *experimental*.
47
+
* Use `helm chart` commands directly from the Helm CLI to push, pull, and manage Helm charts in a registry
48
+
* Authenticate with your registry via the Azure CLI, which then updates your Helm client automatically with the registry URI and credentials. You don't need to manually specify this registry information, so the credentials aren't exposed in the command history.
49
49
* Use `helm install` to install charts to a Kubernetes cluster from a local repository cache.
50
50
51
51
See the following sections for examples.
@@ -122,12 +122,14 @@ version: 8.1.0
122
122
123
123
### List charts in the repository
124
124
125
-
Similar to other artifacts stored in an Azure container registry, you can show the repositories hosting your charts, and chart tags and manifests, in the Azure portal or by using [az acr repository][az-acr-repository] commands.
125
+
As with images stored in an Azure container registry, you can use [az acr repository][az-acr-repository] commands to show the repositories hosting your charts, and chart tags and manifests.
126
126
127
127
For example, run [az acr repository show][az-acr-repository-show] to see the properties of the repo you created in the previous step:
128
128
129
129
```azurecli
130
-
az acr repository show --name mycontainerregistry --repository helm/wordpress
130
+
az acr repository show \
131
+
--name mycontainerregistry \
132
+
--repository helm/wordpress
131
133
```
132
134
133
135
Output is similar to:
@@ -152,7 +154,9 @@ Output is similar to:
152
154
Run the [az acr repository show-manifests][az-acr-repository-show-manifests] command to see details of the chart stored in the repository. For example:
153
155
154
156
```azurecli
155
-
az acr repository show-manifests --name mycontainerregistry --repository helm/wordpress --detail
157
+
az acr repository show-manifests \
158
+
--name mycontainerregistry \
159
+
--repository helm/wordpress --detail
156
160
```
157
161
158
162
Output, abbreviated in this example, shows a `configMediaType` of `application/vnd.cncf.helm.config.v1+json`:
@@ -176,7 +180,7 @@ Output, abbreviated in this example, shows a `configMediaType` of `application/v
176
180
177
181
### Pull chart to local cache
178
182
179
-
To install a Helm chart to Kubernetes, the chart must be in the local cache. In this example, first run `helm chart remove` to remove the existing `mycontainerregistry.azurecr.io/helm/wordpress:latest` local chart:
183
+
To install a Helm chart to Kubernetes, the chart must be in the local cache. In this example, first run `helm chart remove` to remove the existing local chart named `mycontainerregistry.azurecr.io/helm/wordpress:latest`:
When no version number is provided, the *latest* version is used. Helm returns detailed information about your chart, as shown in the following condensed example output:
210
+
When no version number is provided, the *latest* version is used. Helm returns detailed information about your chart, as shown in the following condensed output:
0 commit comments