Fix examples for newer kubectl (#9045)

This commit is contained in:
Eric Van Norman 2021-02-23 17:36:56 -06:00 committed by GitHub
parent cd546a9903
commit caf7b6df79
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 6 deletions

View File

@ -72,7 +72,7 @@ Verify there is no peer authentication policy in the system with the following c
{{< text bash >}}
$ kubectl get peerauthentication --all-namespaces
No resources found.
No resources found
{{< /text >}}
Last but not least, verify that there are no destination rules that apply on the example services. You can do this by checking the `host:` value of

View File

@ -65,7 +65,7 @@ kubectl get peerauthentication --all-namespaces
}
! read -r -d '' snip_setup_4_out <<\ENDSNIP
No resources found.
No resources found
ENDSNIP
snip_setup_5() {

View File

@ -73,12 +73,12 @@ the policies to enforce STRICT mutual TLS between the workloads.
{{< text bash >}}
$ kubectl get peerauthentication --all-namespaces
No resources found.
No resources found
{{< /text >}}
{{< text bash >}}
$ kubectl get destinationrule --all-namespaces
No resources found.
No resources found
{{< /text >}}
{{< /tip >}}

View File

@ -52,7 +52,7 @@ kubectl get peerauthentication --all-namespaces
}
! read -r -d '' snip_set_up_the_cluster_4_out <<\ENDSNIP
No resources found.
No resources found
ENDSNIP
snip_set_up_the_cluster_5() {
@ -60,7 +60,7 @@ kubectl get destinationrule --all-namespaces
}
! read -r -d '' snip_set_up_the_cluster_5_out <<\ENDSNIP
No resources found.
No resources found
ENDSNIP
snip_lock_down_to_mutual_tls_by_namespace_1() {