Error in Secure Gateways (SDS) extra <angle brackets> (#4930)

* Fix bash: syntax error near unexpected token

* Use <password> throughout

* Add angle brackets for single-backticked 'password'
This commit is contained in:
Ed Snible 2019-09-12 12:02:20 -04:00 committed by Frank Budinsky
parent 91c93a39b3
commit 71145ac443
7 changed files with 11 additions and 11 deletions

View File

@ -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 <password>
{{< /text >}}
Select `y` for all prompts that appear.

View File

@ -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 <password>
{{< /text >}}
When prompted, select `y` for all the questions.

View File

@ -50,10 +50,10 @@ from the <https://github.com/nicholasjackson/mtls-go-example> 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 `<password>` to any value you like in the following command:
{{< text bash >}}
$ ./generate.sh httpbin.example.com password
$ ./generate.sh httpbin.example.com <password>
{{< /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 `<password>` to any value you like in the following command:
{{< text bash >}}
$ ./generate.sh bookinfo.com password
$ ./generate.sh bookinfo.com <password>
{{< /text >}}
When prompted, select `y` for all the questions.

View File

@ -58,11 +58,11 @@ from the <https://github.com/nicholasjackson/mtls-go-example> 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 `<password>` with
any value in the following command:
{{< text bash >}}
$ ./generate.sh httpbin.example.com password
$ ./generate.sh httpbin.example.com <password>
{{< /text >}}
When prompted, answer `y` to all the questions. The command generates

View File

@ -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 <password>
{{< /text >}}
所有提示都输入 `y`

View File

@ -33,7 +33,7 @@ aliases:
1. 为 `nginx.example.com` 生成证书。使用以下命令的任何密码:
{{< text bash >}}
$ ./generate.sh nginx.example.com password
$ ./generate.sh nginx.example.com <password>
{{< /text >}}
遇见所有的问题请输入 `y` 来回答。

View File

@ -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 <password>
{{< /text >}}
看到提示后,所有问题都输入 `Y` 即可。这个命令会生成四个目录:`1_root`、`2_intermediate`、`3_application` 以及 `4_client`。这些目录中包含了后续过程所需的客户端和服务端证书。