From c93692e47fb89ed847ee4300c8941e3c028b78b2 Mon Sep 17 00:00:00 2001 From: howieyuen Date: Sat, 11 Jun 2022 20:39:23 +0800 Subject: [PATCH] [zh]Resync reference files after zh language renaming [reference-1] --- .../reference/access-authn-authz/_index.md | 5 ++- .../admission-controllers.md | 2 +- .../docs/reference/kubectl/cheatsheet.md | 2 +- .../labels-annotations-taints/_index.md | 38 +++++++++++++++++++ .../reference/using-api/deprecation-guide.md | 11 ++++-- .../reference/using-api/server-side-apply.md | 6 ++- 6 files changed, 55 insertions(+), 9 deletions(-) diff --git a/content/zh-cn/docs/reference/access-authn-authz/_index.md b/content/zh-cn/docs/reference/access-authn-authz/_index.md index bd6a833b91..c26b1e38b2 100644 --- a/content/zh-cn/docs/reference/access-authn-authz/_index.md +++ b/content/zh-cn/docs/reference/access-authn-authz/_index.md @@ -37,6 +37,8 @@ Reference documentation: - Service accounts - [Developer guide](/docs/tasks/configure-pod-container/configure-service-account/) - [Administration](/docs/reference/access-authn-authz/service-accounts-admin/) +- [Kubelet Authentication & Authorization](/docs/reference/access-authn-authz/kubelet-authn-authz/) + - including kubelet [TLS bootstrapping](/docs/reference/access-authn-authz/kubelet-tls-bootstrapping/) --> - [身份认证](/zh/docs/reference/access-authn-authz/authentication/) - [使用启动引导令牌来执行身份认证](/zh/docs/reference/access-authn-authz/bootstrap-tokens/) @@ -53,4 +55,5 @@ Reference documentation: - 服务账号 - [开发者指南](/zh/docs/tasks/configure-pod-container/configure-service-account/) - [管理文档](/zh/docs/reference/access-authn-authz/service-accounts-admin/) - +- [Kubelet 认证和鉴权](/zh/docs/reference/access-authn-authz/kubelet-authn-authz/) + - 包括 kubelet [TLS 启动引导](/zh/docs/reference/access-authn-authz/kubelet-tls-bootstrapping/) diff --git a/content/zh-cn/docs/reference/access-authn-authz/admission-controllers.md b/content/zh-cn/docs/reference/access-authn-authz/admission-controllers.md index e879b6e497..b1068539c5 100644 --- a/content/zh-cn/docs/reference/access-authn-authz/admission-controllers.md +++ b/content/zh-cn/docs/reference/access-authn-authz/admission-controllers.md @@ -246,7 +246,7 @@ information on the permissions required to perform different actions on Certific 有关对 CertificateSigningRequest 资源执行不同操作所需权限的详细信息, 请参阅[证书签名请求](/zh/docs/reference/access-authn-authz/certificate-signing-requests/)。 -### CertificateSubjectRestrictions {#certificatesubjectrestrictions} +### CertificateSubjectRestriction {#certificatesubjectrestriction} diff --git a/content/zh-cn/docs/reference/labels-annotations-taints/_index.md b/content/zh-cn/docs/reference/labels-annotations-taints/_index.md index bf8e31e9a5..f44be98ad3 100644 --- a/content/zh-cn/docs/reference/labels-annotations-taints/_index.md +++ b/content/zh-cn/docs/reference/labels-annotations-taints/_index.md @@ -668,6 +668,44 @@ Kubernetes uses this label to differentiate multiple Services. Used currently fo Kubernetes 使用这个标签来区分多个服务。目前仅用于 `ELB` (弹性负载均衡器)。 + +### kubernetes.io/service-account.name + +示例:`kubernetes.io/service-account.name: "sa-name"` + +用于:Secret + +这个注解记录了令牌(存储在 `kubernetes.io/service-account-token` 类型的 Secret 中)所代表的 +ServiceAccount 的{{}}。 + + +### kubernetes.io/service-account.uid + +示例:`kubernetes.io/service-account.uid: da68f9c6-9d26-11e7-b84e-002dc52800da` + +用于:Secret + +该注解记录了令牌(存储在 `kubernetes.io/service-account-token` 类型的 Secret 中)所代表的 +ServiceAccount 的{{}}。 + **policy/v1beta1** API 版本中的 PodSecurityPolicy 将不会在 v1.25 中提供, 并且 PodSecurityPolicy 准入控制器也会被删除。 -PodSecurityPolicy 的替换方案仍在讨论过程中,不过当前的用法可以迁移到 -[第三方准入性质的 Webhook](/zh/docs/reference/access-authn-authz/extensible-admission-controllers/)。 +迁移到 [Pod 安全准入](/zh/docs/concepts/security/pod-security-admission/)或[第三方准入 webhook](/zh/docs/reference/access-authn-authz/extensible-admission-controllers/)。 +有关迁移指南,请参阅[从 PodSecurityPolicy 迁移到内置 PodSecurity 准入控制器](/zh/docs/tasks/configure-pod-container/migrate-from-psp/)。 +有关弃用的更多信息,请参阅 [PodSecurityPolicy 弃用:过去、现在和未来](/zh/blog/2021/04/06/podsecuritypolicy-deprecation-past-present-and-future/)。 #### RuntimeClass {#runtimeclass-v125} diff --git a/content/zh-cn/docs/reference/using-api/server-side-apply.md b/content/zh-cn/docs/reference/using-api/server-side-apply.md index 762b038ef5..dbd455f276 100644 --- a/content/zh-cn/docs/reference/using-api/server-side-apply.md +++ b/content/zh-cn/docs/reference/using-api/server-side-apply.md @@ -220,7 +220,8 @@ this occurs, the applier has 3 options to resolve the conflicts: * **覆盖前值,成为唯一的管理器:** 如果打算覆盖该值(或应用者是一个自动化部件,比如控制器), - 应用者应该设置查询参数 `force` 为 true,然后再发送一次请求。 + 应用者应该设置查询参数 `force` 为 true(在 kubectl 中,可以通过在 + apply 命令中使用 `--force-conflicts` 标志来完成),然后再发送一次请求。 这将强制操作成功,改变字段的值,从所有其他管理器的 managedFields 条目中删除指定字段。 * **不覆盖前值,放弃管理权:** 如果应用者不再关注该字段的值,