Skip to content

Commit c5f5cf7

Browse files
committed
[zh-cn] Resync psp-to-pss page
1 parent 1eca905 commit c5f5cf7

File tree

1 file changed

+13
-15
lines changed

1 file changed

+13
-15
lines changed

content/zh-cn/docs/reference/access-authn-authz/psp-to-pod-security-standards.md

Lines changed: 13 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,16 @@ weight: 95
1414
-->
1515

1616
<!-- overview -->
17+
1718
<!--
1819
The tables below enumerate the configuration parameters on
1920
[PodSecurityPolicy](/docs/concepts/policy/pod-security-policy/) objects, whether the field mutates
2021
and/or validates pods, and how the configuration values map to the
2122
[Pod Security Standards](/docs/concepts/security/pod-security-standards/).
2223
-->
23-
下面的表格列举了 [PodSecurityPolicy](/zh/docs/concepts/security/pod-security-policy/)
24+
下面的表格列举了 [PodSecurityPolicy](/zh-cn/docs/concepts/security/pod-security-policy/)
2425
对象上的配置参数,这些字段是否会变更或检查 Pod 配置,以及这些配置值如何映射到
25-
[Pod 安全性标准(Pod Security Standards)](/zh/docs/concepts/security/pod-security-standards/)
26+
[Pod 安全性标准(Pod Security Standards)](/zh-cn/docs/concepts/security/pod-security-standards/)
2627
之上。
2728

2829
<!--
@@ -34,31 +35,29 @@ Anything outside the allowed values for those profiles would fall under the
3435
means all values are allowed under all Pod Security Standards.
3536
-->
3637
对于每个可应用的参数,表格中给出了
37-
[Baseline](/zh/docs/concepts/security/pod-security-standards/#baseline)
38-
[Restricted](/zh/docs/concepts/security/pod-security-standards/#restricted)
38+
[Baseline](/zh-cn/docs/concepts/security/pod-security-standards/#baseline)
39+
[Restricted](/zh-cn/docs/concepts/security/pod-security-standards/#restricted)
3940
配置下可接受的取值。
4041
对这两种配置而言不可接受的取值均归入
41-
[Privileged](/zh/docs/concepts/security/pod-security-standards/#privileged)
42+
[Privileged](/zh-cn/docs/concepts/security/pod-security-standards/#privileged)
4243
配置下。“无意见”意味着对所有 Pod 安全性标准而言所有取值都可接受。
4344

4445
<!--
4546
For a step-by-step migration guide, see
4647
[Migrate from PodSecurityPolicy to the Built-In PodSecurity Admission Controller](/docs/tasks/configure-pod-container/migrate-from-psp/).
4748
-->
48-
如果想要了解如何一步步完成迁移,可参阅
49-
[从 PodSecurityPolicy 迁移到内置的 PodSecurity 准入控制器](/zh/docs/tasks/configure-pod-container/migrate-from-psp/)
49+
如果想要了解如何一步步完成迁移,可参阅[从 PodSecurityPolicy 迁移到内置的 PodSecurity 准入控制器](/zh-cn/docs/tasks/configure-pod-container/migrate-from-psp/)
5050

5151
<!-- body -->
5252

5353
<!--
5454
## PodSecurityPolicy Spec
55-
-->
56-
## PodSecurityPolicy 规约 {#podsecuritypolicy-spec}
5755
58-
<!--
5956
The fields enumerated in this table are part of the `PodSecurityPolicySpec`, which is specified
6057
under the `.spec` field path.
6158
-->
59+
## PodSecurityPolicy 规约 {#podsecuritypolicy-spec}
60+
6261
下面表格中所列举的字段是 `PodSecurityPolicySpec` 的一部分,是通过 `.spec`
6362
字段路径来设置的。
6463

@@ -280,15 +279,14 @@ under the `.spec` field path.
280279

281280
<!--
282281
## PodSecurityPolicy annotations
283-
-->
284-
## PodSecurityPolicy 注解 {#podsecuritypolicy-annotations}
285282
286-
<!--
287283
The [annotations](/docs/concepts/overview/working-with-objects/annotations/) enumerated in this
288284
table can be specified under `.metadata.annotations` on the PodSecurityPolicy object.
289285
-->
290-
下面表格中所列举的[注解](/zh/docs/concepts/overview/working-with-objects/annotations/)
291-
可以通过 `.metadata.annotations` 设置到 PodSecurityPolicy 对象之上。
286+
## PodSecurityPolicy 注解 {#podsecuritypolicy-annotations}
287+
288+
下面表格中所列举的[注解](/zh-cn/docs/concepts/overview/working-with-objects/annotations/)可以通过
289+
`.metadata.annotations` 设置到 PodSecurityPolicy 对象之上。
292290

293291
<table class="no-word-break">
294292
<caption style="display:none"><!-- Mapping PodSecurityPolicy annotations to Pod Security Standards-->将 PodSecurityPolicy 注解映射到 Pod 安全性标准</caption>

0 commit comments

Comments
 (0)