Skip to content

Commit daf464e

Browse files
authored
Merge pull request #47182 from my-git9/pp-28511
[zh-cn] sync configuration/secret.md
2 parents 9fce41c + f5dbc98 commit daf464e

File tree

1 file changed

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

1 file changed

+0
-2
lines changed

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -619,13 +619,11 @@ You can create an `Opaque` type for credentials used for basic authentication.
619619
However, using the defined and public Secret type (`kubernetes.io/basic-auth`) helps other
620620
people to understand the purpose of your Secret, and sets a convention for what key names
621621
to expect.
622-
The Kubernetes API verifies that the required keys are set for a Secret of this type.
623622
-->
624623
提供基本身份认证类型的 Secret 仅仅是出于方便性考虑。
625624
你也可以使用 `Opaque` 类型来保存用于基本身份认证的凭据。
626625
不过,使用预定义的、公开的 Secret 类型(`kubernetes.io/basic-auth`
627626
有助于帮助其他用户理解 Secret 的目的,并且对其中存在的主键形成一种约定。
628-
API 服务器会检查 Secret 配置中是否提供了所需要的主键。
629627

630628
<!--
631629
### SSH authentication Secrets

0 commit comments

Comments
 (0)