remove namespce for cluster scope resources. (#9890)

* remove namespce for cluster scope resources.

* make gen.
This commit is contained in:
Morven Cao 2021-06-08 03:24:41 +08:00 committed by GitHub
parent 4c52540083
commit 893e4ed281
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -185,7 +185,7 @@ and installing the sidecar injector webhook configuration on the remote cluster
1. Confirm that the remote cluster's webhook configuration has been installed:
{{< text bash >}}
$ kubectl get mutatingwebhookconfiguration -n external-istiod --context="${CTX_REMOTE_CLUSTER}"
$ kubectl get mutatingwebhookconfiguration --context="${CTX_REMOTE_CLUSTER}"
NAME WEBHOOKS AGE
istio-sidecar-injector-external-istiod 4 6m24s
{{< /text >}}
@ -568,7 +568,7 @@ $ export SECOND_CLUSTER_NAME=<your second remote cluster name>
1. Confirm that the remote cluster's webhook configuration has been installed:
{{< text bash >}}
$ kubectl get mutatingwebhookconfiguration -n external-istiod --context="${CTX_SECOND_CLUSTER}"
$ kubectl get mutatingwebhookconfiguration --context="${CTX_SECOND_CLUSTER}"
NAME WEBHOOKS AGE
istio-sidecar-injector-external-istiod 4 4m13s
{{< /text >}}

View File

@ -89,7 +89,7 @@ istioctl manifest generate -f remote-config-cluster.yaml | kubectl apply --conte
}
snip_set_up_the_remote_config_cluster_3() {
kubectl get mutatingwebhookconfiguration -n external-istiod --context="${CTX_REMOTE_CLUSTER}"
kubectl get mutatingwebhookconfiguration --context="${CTX_REMOTE_CLUSTER}"
}
! read -r -d '' snip_set_up_the_remote_config_cluster_3_out <<\ENDSNIP
@ -393,7 +393,7 @@ istioctl manifest generate -f second-config-cluster.yaml | kubectl apply --conte
}
snip_register_the_new_cluster_4() {
kubectl get mutatingwebhookconfiguration -n external-istiod --context="${CTX_SECOND_CLUSTER}"
kubectl get mutatingwebhookconfiguration --context="${CTX_SECOND_CLUSTER}"
}
! read -r -d '' snip_register_the_new_cluster_4_out <<\ENDSNIP