From cf7ad4ece440064d260a7bc55f5652960b032c07 Mon Sep 17 00:00:00 2001 From: Kiba Amor <5093911+kibaamor@users.noreply.github.com> Date: Sun, 28 Jul 2024 14:57:33 +0800 Subject: [PATCH] Fix the step for creating a 'helloworld-credential' secret. (#15480) --- .../tasks/traffic-management/ingress/secure-ingress/index.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/content/zh/docs/tasks/traffic-management/ingress/secure-ingress/index.md b/content/zh/docs/tasks/traffic-management/ingress/secure-ingress/index.md index c4c4124c1d..9d1bd9a4e8 100644 --- a/content/zh/docs/tasks/traffic-management/ingress/secure-ingress/index.md +++ b/content/zh/docs/tasks/traffic-management/ingress/secure-ingress/index.md @@ -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` 主机配置入口网关: