Fix the step for creating a 'helloworld-credential' secret. (#15480)

This commit is contained in:
Kiba Amor 2024-07-28 14:57:33 +08:00 committed by GitHub
parent c30c396d26
commit cf7ad4ece4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 1 deletions

View File

@ -324,7 +324,9 @@ $ export SECURE_INGRESS_PORT=$(kubectl get gtw mygateway -n istio-system -o json
1. 创建 `helloworld-credential` Secret
{{< text bash >}}
$ kubectl create -n istio-system secret tls helloworld-credential --key=helloworld-v1.example.com.key --cert=helloworld-v1.example.com.crt
$ kubectl create -n istio-system secret tls helloworld-credential \
--key=example_certs1/helloworld.example.com.key \
--cert=example_certs1/helloworld.example.com.crt
{{< /text >}}
1. 使用 `httpbin.example.com``helloworld.example.com` 主机配置入口网关: