Skip to content

Commit 49d28c5

Browse files
committed
review comments
1 parent 486a201 commit 49d28c5

File tree

1 file changed

+20
-16
lines changed

1 file changed

+20
-16
lines changed

articles/container-registry/container-registry-helm-repos.md

Lines changed: 20 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -9,24 +9,24 @@ ms.date: 01/28/2020
99

1010
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/).
1111

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].
1313

1414
> [!IMPORTANT]
1515
> 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).
1616
17-
## Helm 2 or Helm 3?
17+
## Helm 3 or Helm 2?
1818

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/).
2020

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:
2222

2323
* [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
2525

2626
### Additional information
2727

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.
3030
* 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.
3131

3232
## 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
4242

4343
With **Helm 3** you:
4444

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.
4949
* Use `helm install` to install charts to a Kubernetes cluster from a local repository cache.
5050

5151
See the following sections for examples.
@@ -122,12 +122,14 @@ version: 8.1.0
122122

123123
### List charts in the repository
124124

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.
126126

127127
For example, run [az acr repository show][az-acr-repository-show] to see the properties of the repo you created in the previous step:
128128

129129
```azurecli
130-
az acr repository show --name mycontainerregistry --repository helm/wordpress
130+
az acr repository show \
131+
--name mycontainerregistry \
132+
--repository helm/wordpress
131133
```
132134

133135
Output is similar to:
@@ -152,7 +154,9 @@ Output is similar to:
152154
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:
153155

154156
```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
156160
```
157161

158162
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
176180

177181
### Pull chart to local cache
178182

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`:
180184

181185
```console
182186
helm chart remove mycontainerregistry.azurecr.io/helm/wordpress:latest
@@ -203,7 +207,7 @@ cd install
203207
helm inspect chart wordpress
204208
```
205209

206-
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:
207211

208212
```
209213
apiVersion: v1

0 commit comments

Comments
 (0)