[zh] Fix the indentation issue in the command for the task 'Ingress Sidecar TLS Termination' (#15482)

* Fix the indentation issue in the command

Fix the indentation issue in the command for the task 'Ingress Sidecar TLS Termination.'

* Fix MD029
This commit is contained in:
Kiba Amor 2024-07-29 16:32:34 +08:00 committed by GitHub
parent cf7ad4ece4
commit 4971bb33a1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 6 deletions

View File

@ -113,7 +113,6 @@ $ kubectl -n test apply -f - <<EOF
apiVersion: v1
kind: ServiceAccount
metadata:
name: httpbin
---
apiVersion: v1
@ -160,8 +159,8 @@ spec:
name: httpbin
ports:
- containerPort: 80
EOF
{{< /text >}}
EOF
{{< /text >}}
## 配置 httpbin 以启用外部 mTLS {#configure-httpbin-to-enable-external-mtls}
@ -196,15 +195,15 @@ spec:
protocol: HTTP
name: internal
defaultEndpoint: 0.0.0.0:80
EOF
{{< /text >}}
EOF
{{< /text >}}
## 验证 {#verification}
现在已经部署和配置了 httpbin 服务器,启动两个客户端来测试网格内部和外部的端到端连接:
1. 在与 httpbin 服务相同的命名空间test中的内部客户端sleep已注入 Sidecar。
2. 在 default 命名空间即服务网格外部中的外部客户端sleep
1. 在 default 命名空间即服务网格外部中的外部客户端sleep
{{< text bash >}}
$ kubectl apply -f samples/sleep/sleep.yaml