From 71145ac443e294c5fd8c942fcdd7c4fc642fa60e Mon Sep 17 00:00:00 2001 From: Ed Snible Date: Thu, 12 Sep 2019 12:02:20 -0400 Subject: [PATCH] Error in Secure Gateways (SDS) extra (#4930) * Fix bash: syntax error near unexpected token * Use throughout * Add angle brackets for single-backticked 'password' --- .../egress/egress-gateway-tls-origination/index.md | 2 +- .../ingress/ingress-sni-passthrough/index.md | 2 +- .../ingress/secure-ingress-mount/index.md | 8 ++++---- .../ingress/secure-ingress-sds/index.md | 4 ++-- .../edge-traffic/egress-gateway-tls-origination/index.md | 2 +- .../edge-traffic/ingress-sni-passthrough/index.md | 2 +- .../tasks/traffic-management/secure-ingress/sds/index.md | 2 +- 7 files changed, 11 insertions(+), 11 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 93a556d2e7..8a89f0c027 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 @@ -307,7 +307,7 @@ TLS origination. Use any password with the following command: {{< text bash >}} - $ ./generate.sh nginx.example.com password + $ ./generate.sh nginx.example.com {{< /text >}} Select `y` for all prompts that appear. diff --git a/content/en/docs/tasks/traffic-management/ingress/ingress-sni-passthrough/index.md b/content/en/docs/tasks/traffic-management/ingress/ingress-sni-passthrough/index.md index 36dc00a4eb..4fe4685946 100644 --- a/content/en/docs/tasks/traffic-management/ingress/ingress-sni-passthrough/index.md +++ b/content/en/docs/tasks/traffic-management/ingress/ingress-sni-passthrough/index.md @@ -35,7 +35,7 @@ Generate the certificates and keys in the same way as in the [Securing Gateways Use any password with the following command: {{< text bash >}} - $ ./generate.sh nginx.example.com password + $ ./generate.sh nginx.example.com {{< /text >}} When prompted, select `y` for all the questions. diff --git a/content/en/docs/tasks/traffic-management/ingress/secure-ingress-mount/index.md b/content/en/docs/tasks/traffic-management/ingress/secure-ingress-mount/index.md index 375e93f08d..b4a5ab78d2 100644 --- a/content/en/docs/tasks/traffic-management/ingress/secure-ingress-mount/index.md +++ b/content/en/docs/tasks/traffic-management/ingress/secure-ingress-mount/index.md @@ -50,10 +50,10 @@ from the repository. $ pushd mtls-go-example {{< /text >}} -1. Generate the certificates for `httpbin.example.com`. Change `password` to any value you like in the following command: +1. Generate the certificates for `httpbin.example.com`. Change `` to any value you like in the following command: {{< text bash >}} - $ ./generate.sh httpbin.example.com password + $ ./generate.sh httpbin.example.com {{< /text >}} When prompted, select `y` for all the questions. The command will generate four directories: `1_root`, @@ -314,10 +314,10 @@ only this time for host `bookinfo.com` instead of `httpbin.example.com`. $ pushd mtls-go-example {{< /text >}} -1. Generate the certificates for `bookinfo.com`. Change `password` to any value you like in the following command: +1. Generate the certificates for `bookinfo.com`. Change `` to any value you like in the following command: {{< text bash >}} - $ ./generate.sh bookinfo.com password + $ ./generate.sh bookinfo.com {{< /text >}} When prompted, select `y` for all the questions. diff --git a/content/en/docs/tasks/traffic-management/ingress/secure-ingress-sds/index.md b/content/en/docs/tasks/traffic-management/ingress/secure-ingress-sds/index.md index 1f86307fbb..cacfccb593 100644 --- a/content/en/docs/tasks/traffic-management/ingress/secure-ingress-sds/index.md +++ b/content/en/docs/tasks/traffic-management/ingress/secure-ingress-sds/index.md @@ -58,11 +58,11 @@ from the repository. $ pushd mtls-go-example {{< /text >}} -1. Generate the certificates for `httpbin.example.com`. Replace `password` with +1. Generate the certificates for `httpbin.example.com`. Replace `` with any value in the following command: {{< text bash >}} - $ ./generate.sh httpbin.example.com password + $ ./generate.sh httpbin.example.com {{< /text >}} When prompted, answer `y` to all the questions. The command generates diff --git a/content/zh/docs/tasks/traffic-management/edge-traffic/egress-gateway-tls-origination/index.md b/content/zh/docs/tasks/traffic-management/edge-traffic/egress-gateway-tls-origination/index.md index 6f505d5565..bd024014cb 100644 --- a/content/zh/docs/tasks/traffic-management/edge-traffic/egress-gateway-tls-origination/index.md +++ b/content/zh/docs/tasks/traffic-management/edge-traffic/egress-gateway-tls-origination/index.md @@ -287,7 +287,7 @@ $ kubectl delete destinationrule egressgateway-for-cnn 1. 为 `nginx.example.com` 生成证书,注意用密码替换下面的 `password`: {{< text bash >}} - $ ./generate.sh nginx.example.com password + $ ./generate.sh nginx.example.com {{< /text >}} 所有提示都输入 `y`。 diff --git a/content/zh/docs/tasks/traffic-management/edge-traffic/ingress-sni-passthrough/index.md b/content/zh/docs/tasks/traffic-management/edge-traffic/ingress-sni-passthrough/index.md index c9c1f31c3c..d0fbf7f6c9 100644 --- a/content/zh/docs/tasks/traffic-management/edge-traffic/ingress-sni-passthrough/index.md +++ b/content/zh/docs/tasks/traffic-management/edge-traffic/ingress-sni-passthrough/index.md @@ -33,7 +33,7 @@ aliases: 1. 为 `nginx.example.com` 生成证书。使用以下命令的任何密码: {{< text bash >}} - $ ./generate.sh nginx.example.com password + $ ./generate.sh nginx.example.com {{< /text >}} 遇见所有的问题请输入 `y` 来回答。 diff --git a/content/zh/docs/tasks/traffic-management/secure-ingress/sds/index.md b/content/zh/docs/tasks/traffic-management/secure-ingress/sds/index.md index 6c845b1ed2..693adc5f2e 100644 --- a/content/zh/docs/tasks/traffic-management/secure-ingress/sds/index.md +++ b/content/zh/docs/tasks/traffic-management/secure-ingress/sds/index.md @@ -39,7 +39,7 @@ keywords: [traffic-management,ingress,sds-credentials] 1. 为 `httpbin.example.com` 生成证书。注意要把下面命令中的 `password` 替换为其它值。 {{< text bash >}} - $ ./generate.sh httpbin.example.com password + $ ./generate.sh httpbin.example.com {{< /text >}} 看到提示后,所有问题都输入 `Y` 即可。这个命令会生成四个目录:`1_root`、`2_intermediate`、`3_application` 以及 `4_client`。这些目录中包含了后续过程所需的客户端和服务端证书。