Skip to content

Commit 36d15c7

Browse files
committed
[zh] Fix typo in TLS Secrets part
1 parent e2509cb commit 36d15c7

File tree

1 file changed

+2
-2
lines changed
  • content/zh-cn/docs/concepts/configuration

1 file changed

+2
-2
lines changed

content/zh-cn/docs/concepts/configuration/secret.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -645,14 +645,14 @@ Kubernetes 所提供的内置类型 `kubernetes.io/ssh-auth` 用来存放 SSH
645645
<!--
646646
The SSH authentication Secret type is provided only for convenience.
647647
You can create an `Opaque` type for credentials used for SSH authentication.
648-
However, using the defined and public Secret type (`kubernetes.io/ssh-auth`) helps other
648+
However, using the defined and public Secret type (`kubernetes.io/tls`) helps other
649649
people to understand the purpose of your Secret, and sets a convention for what key names
650650
to expect.
651651
The Kubernetes API verifies that the required keys are set for a Secret of this type.
652652
-->
653653
提供 SSH 身份认证类型的 Secret 仅仅是出于方便性考虑。
654654
你可以使用 `Opaque` 类型来保存用于 SSH 身份认证的凭据。
655-
不过,使用预定义的、公开的 Secret 类型(`kubernetes.io/ssh-auth`
655+
不过,使用预定义的、公开的 Secret 类型(`kubernetes.io/tls`
656656
有助于其他人理解你的 Secret 的用途,也可以就其中包含的主键名形成约定。
657657
Kubernetes API 会验证这种类型的 Secret 中是否设定了所需的主键。
658658

0 commit comments

Comments
 (0)