From d99f9549366e3e2df4037e8ca17bb3739fd84a24 Mon Sep 17 00:00:00 2001 From: Faseela K Date: Thu, 6 Jan 2022 00:23:28 +0100 Subject: [PATCH] Minor fix in egress mtls example cleanup (#10720) * Minor fix in egress mtls example cleanup The document mentions some resources for cleanup which are not actually created as part of this exercise. Signed-off-by: Faseela K * Adding make gen output files Signed-off-by: Faseela K --- .../egress/egress-gateway-tls-origination/index.md | 2 +- .../egress/egress-gateway-tls-origination/snips.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/content/en/docs/tasks/traffic-management/egress/egress-gateway-tls-origination/index.md b/content/en/docs/tasks/traffic-management/egress/egress-gateway-tls-origination/index.md index 0378e11e5f..e1f9dbcbf4 100644 --- a/content/en/docs/tasks/traffic-management/egress/egress-gateway-tls-origination/index.md +++ b/content/en/docs/tasks/traffic-management/egress/egress-gateway-tls-origination/index.md @@ -545,7 +545,7 @@ to hold the configuration of the NGINX server: {{< text bash >}} $ kubectl delete secret nginx-server-certs nginx-ca-certs -n mesh-external - $ kubectl delete secret client-credential istio-egressgateway-certs istio-egressgateway-ca-certs nginx-client-certs nginx-ca-certs -n istio-system + $ kubectl delete secret client-credential -n istio-system $ kubectl delete configmap nginx-configmap -n mesh-external $ kubectl delete service my-nginx -n mesh-external $ kubectl delete deployment my-nginx -n mesh-external diff --git a/content/en/docs/tasks/traffic-management/egress/egress-gateway-tls-origination/snips.sh b/content/en/docs/tasks/traffic-management/egress/egress-gateway-tls-origination/snips.sh index 7fd084fd59..a9cdc367cc 100644 --- a/content/en/docs/tasks/traffic-management/egress/egress-gateway-tls-origination/snips.sh +++ b/content/en/docs/tasks/traffic-management/egress/egress-gateway-tls-origination/snips.sh @@ -417,7 +417,7 @@ kubectl logs -l istio=egressgateway -n istio-system | grep 'my-nginx.mesh-extern snip_cleanup_the_mutual_tls_origination_example_1() { kubectl delete secret nginx-server-certs nginx-ca-certs -n mesh-external -kubectl delete secret client-credential istio-egressgateway-certs istio-egressgateway-ca-certs nginx-client-certs nginx-ca-certs -n istio-system +kubectl delete secret client-credential -n istio-system kubectl delete configmap nginx-configmap -n mesh-external kubectl delete service my-nginx -n mesh-external kubectl delete deployment my-nginx -n mesh-external