fix operator install command witm helm. (#8585)

This commit is contained in:
Morven Cao 2020-11-26 23:21:42 +08:00 committed by GitHub
parent a48f6a5df8
commit 76ded39d16
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 5 deletions

View File

@ -61,11 +61,11 @@ To avoid a vulnerability, ensure that the operator deployment is sufficiently se
You can alternatively deploy the operator using Helm:
{{< text bash >}}
$ helm template manifests/charts/istio-operator/ \
$ helm install istio-operator manifests/charts/istio-operator \
--set hub=docker.io/istio \
--set tag={{< istio_full_version >}} \
--set operatorNamespace=istio-operator \
--set watchedNamespaces=istio-system | kubectl apply -f -
--set watchedNamespaces=istio-namespace1,istio-namespace2
{{< /text >}}
Note that you need to [download the Istio release](/docs/setup/getting-started/#download)
@ -219,12 +219,12 @@ $ istio-1.8.1/bin/istioctl operator init --revision 1-8-1
You can alternatively use Helm to deploy another operator with a different revision setting:
{{< text bash >}}
$ helm template manifests/charts/istio-operator/ \
$ helm install istio-operator manifests/charts/istio-operator \
--set hub=docker.io/istio \
--set tag={{< istio_full_version >}} \
--set operatorNamespace=istio-operator \
--set revision=1-7-0 \
--set watchedNamespaces=istio-system | kubectl apply -f -
--set watchedNamespaces=istio-system \
--set revision=1-7-0
{{< /text >}}
Note that you need to [download the Istio release](/docs/setup/getting-started/#download)