From 2c5b5ae81518a91467cf876496c0148b072c7fd8 Mon Sep 17 00:00:00 2001 From: Zhang Yong Date: Sat, 30 May 2020 16:37:39 +0800 Subject: [PATCH] Improvement for helm version --- .../install-service-catalog-using-helm.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/content/zh/docs/tasks/service-catalog/install-service-catalog-using-helm.md b/content/zh/docs/tasks/service-catalog/install-service-catalog-using-helm.md index 94f5d511ff..4f46b08078 100644 --- a/content/zh/docs/tasks/service-catalog/install-service-catalog-using-helm.md +++ b/content/zh/docs/tasks/service-catalog/install-service-catalog-using-helm.md @@ -141,9 +141,15 @@ Install Service Catalog from the root of the Helm repository using the following --> 使用以下命令从 Helm 存储库的根目录安装 Service Catalog: +{{< tabs name="helm-versions" >}} +{{% tab name="Helm version 3" %}} ```shell -helm install svc-cat/catalog \ - --name catalog --namespace catalog +helm install catalog svc-cat/catalog --namespace catalog +``` +{{% /tab %}} +{{% tab name="Helm version 2" %}} +```shell +helm install svc-cat/catalog --name catalog --namespace catalog ``` {{% /capture %}}