improve install gateway doc (#11734)

* improve install gateway doc

Signed-off-by: hejianpeng <hejianpeng2@huawei.com>

* unify istio-ingressgateway deployment name

Signed-off-by: hejianpeng <hejianpeng2@huawei.com>
This commit is contained in:
zirain 2022-08-25 21:13:07 +08:00 committed by GitHub
parent 15a3975599
commit bb84e3baf0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 6 deletions

View File

@ -64,7 +64,7 @@ spec:
profile: empty # Do not install CRDs or the control plane
components:
ingressGateways:
- name: ingressgateway
- name: istio-ingressgateway
namespace: istio-ingress
enabled: true
label:
@ -92,7 +92,7 @@ Install using standard `helm` commands:
{{< text bash >}}
$ kubectl create namespace istio-ingress
$ helm install istio-ingress istio/gateway -n istio-ingress
$ helm install istio-ingressgateway istio/gateway -n istio-ingress
{{< /text >}}
To see possible supported configuration values, run `helm show values istio/gateway`.

View File

@ -29,7 +29,7 @@ spec:
profile: empty # Do not install CRDs or the control plane
components:
ingressGateways:
- name: ingressgateway
- name: istio-ingressgateway
namespace: istio-ingress
enabled: true
label:
@ -50,7 +50,7 @@ istioctl install -f ingress.yaml
snip_deploying_a_gateway_3() {
kubectl create namespace istio-ingress
helm install istio-ingress istio/gateway -n istio-ingress
helm install istio-ingressgateway istio/gateway -n istio-ingress
}
! read -r -d '' snip_deploying_a_gateway_4 <<\ENDSNIP

View File

@ -34,11 +34,11 @@ $snip_deploying_a_gateway_1
EOF
echo y | snip_deploying_a_gateway_2
_wait_for_deployment istio-ingress ingressgateway
_wait_for_deployment istio-ingress istio-ingressgateway
rebuild
_rewrite_helm_repo snip_deploying_a_gateway_3
_wait_for_deployment istio-ingress istio-ingress
_wait_for_deployment istio-ingress istio-ingressgateway
rebuild
# shellcheck disable=SC2154