diff --git a/content/en/docs/tasks/security/authentication/authn-policy/index.md b/content/en/docs/tasks/security/authentication/authn-policy/index.md index e386de1cd4..1233217b72 100644 --- a/content/en/docs/tasks/security/authentication/authn-policy/index.md +++ b/content/en/docs/tasks/security/authentication/authn-policy/index.md @@ -286,7 +286,7 @@ Note that you've already created a namespace-wide policy that enables mutual TLS `sleep.legacy` to `httpbin.foo` are failing (see above). {{< text bash >}} -$ cat <}} -$ kubectl apply -n foo -f - << EOF +$ kubectl apply -n foo -f - <}} -$ kubectl apply -n istio-system -f - << EOF +$ kubectl apply -n istio-system -f - <}} +$ kubectl delete peerauthentication --all-namespaces --all +{{< /text >}} + +1. If you are not planning to explore any follow-on tasks, you can remove all test namespaces. {{< text bash >}} $ kubectl delete ns foo bar legacy Namespaces foo bar legacy deleted. -$ kubectl delete peerauthentication --all-namespaces --all {{< /text >}}