mirror of https://github.com/istio/istio.io.git
Configure istio-system namespace for istioctl install (#10406)
This commit is contained in:
parent
4ed402fb84
commit
ad1e6a30ff
|
@ -444,7 +444,7 @@ spec:
|
|||
istio-ingressgateway:
|
||||
injectionTemplate: gateway
|
||||
EOF
|
||||
$ istioctl install -f istio-ingressgateway.yaml --context="${CTX_REMOTE_CLUSTER}"
|
||||
$ istioctl install -f istio-ingressgateway.yaml --set values.global.istioNamespace=external-istiod --context="${CTX_REMOTE_CLUSTER}"
|
||||
{{< /text >}}
|
||||
|
||||
{{< /tab >}}
|
||||
|
@ -488,7 +488,7 @@ spec:
|
|||
istio-egressgateway:
|
||||
injectionTemplate: gateway
|
||||
EOF
|
||||
$ istioctl install -f istio-egressgateway.yaml --context="${CTX_REMOTE_CLUSTER}"
|
||||
$ istioctl install -f istio-egressgateway.yaml --set values.global.istioNamespace=external-istiod --context="${CTX_REMOTE_CLUSTER}"
|
||||
{{< /text >}}
|
||||
|
||||
{{< /tab >}}
|
||||
|
|
|
@ -314,7 +314,7 @@ spec:
|
|||
istio-ingressgateway:
|
||||
injectionTemplate: gateway
|
||||
EOF
|
||||
istioctl install -f istio-ingressgateway.yaml --context="${CTX_REMOTE_CLUSTER}"
|
||||
istioctl install -f istio-ingressgateway.yaml --set values.global.istioNamespace=external-istiod --context="${CTX_REMOTE_CLUSTER}"
|
||||
}
|
||||
|
||||
snip_enable_gateways_2() {
|
||||
|
@ -344,7 +344,7 @@ spec:
|
|||
istio-egressgateway:
|
||||
injectionTemplate: gateway
|
||||
EOF
|
||||
istioctl install -f istio-egressgateway.yaml --context="${CTX_REMOTE_CLUSTER}"
|
||||
istioctl install -f istio-egressgateway.yaml --set values.global.istioNamespace=external-istiod --context="${CTX_REMOTE_CLUSTER}"
|
||||
}
|
||||
|
||||
snip_enable_gateways_4() {
|
||||
|
|
|
@ -178,6 +178,5 @@ istioctl manifest generate -f eastwest-gateway-2.yaml | kubectl delete --context
|
|||
kubectl delete ns istio-system external-istiod --context="${CTX_EXTERNAL_CLUSTER}"
|
||||
kubectl delete ns external-istiod --context="${CTX_REMOTE_CLUSTER}"
|
||||
kubectl delete ns external-istiod --context="${CTX_SECOND_CLUSTER}"
|
||||
kubectl delete ns istio-system --context="${CTX_REMOTE_CLUSTER}" # TODO: remove when https://github.com/istio/istio/issues/31495 fixed
|
||||
|
||||
rm external-istiod-gw.yaml remote-config-cluster.yaml external-istiod.yaml controlplane-gateway.yaml eastwest-gateway-1.yaml eastwest-gateway-2.yaml second-config-cluster.yaml
|
||||
|
|
Loading…
Reference in New Issue