Skip to content

Commit 55c3ece

Browse files
authored
Sync #16719 support cacert in tls.credentialNames into Chinese (#16731)
1 parent c432d22 commit 55c3ece

File tree

1 file changed

+9
-0
lines changed
  • content/zh/docs/tasks/traffic-management/ingress/secure-ingress

1 file changed

+9
-0
lines changed

content/zh/docs/tasks/traffic-management/ingress/secure-ingress/index.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -622,6 +622,15 @@ Istio 支持读取几种不同的 Secret 格式,以支持与各种工具的集
622622
* 带有 `key``cert` 键的通用 Secret。对于双向 TLS,`cacert` 可以作为密钥。
623623
* 带有 `key``cert` 键的通用 Secret。对于双向 TLS,名为 `<secret>-cacert` 的带有 `cacert` 键的通用 Secret。
624624
例如,`httpbin-credential``key``cert``httpbin-credential-cacert``cacert`
625+
* 对于双向 TLS,可以在 `tls.credentialNames` 中以 `<secret>-cacert`
626+
的形式引用单独的通用 Secret,并使用 `cacert` 键。
627+
例如,`my-httpbin-mtls-trustbundle` 具有 `cacert`
628+
`tls.credentialNames` 具有 `my-httpbin-mtls-trustbundle-cacert`
629+
* 对于双向 TLS,可以在 `tls.credentialNames` 中以
630+
`configmap://<namespace>/<configmap>-cacert` 的形式引用单独的 ConfigMap,
631+
并使用 `cacert` 键。例如,`httpbin` 命名空间中的 `my-httpbin-mtls-trustbundle`
632+
ConfigMap 具有 `cacert`,而 `tls.credentialNames` 具有
633+
`configmap://httpbin/my-httpbin-mtls-trustbundle-cacert`
625634
* `cacert` 键值可以是一个 CA 捆绑包,由串联的各个 CA 证书组成。
626635

627636
### SNI 路由 {#sni-routing}

0 commit comments

Comments
 (0)