Skip to content

Commit 6da498d

Browse files
authored
Update pod-security-policy.md
fix the translation of "PodSecurityPolicies which allow the pod as-is, without changing defaults or mutating the pod, are preferred"
1 parent 3ccdb34 commit 6da498d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

content/zh/docs/concepts/policy/pod-security-policy.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -316,8 +316,7 @@ controller selects policies according to the following criteria:
316316
2. If the pod must be defaulted or mutated, the first PodSecurityPolicy
317317
(ordered by name) to allow the pod is selected.
318318
-->
319-
1. 优先考虑中允许 Pod 不经修改地创建或更新的 PodSecurityPolicy,这些策略
320-
不会更改 Pod 字段的默认值或者其他配置。
319+
1. 优先考虑允许pod保持原样,不会更改Pod字段的默认值或其他配置的PodSecurityPolicy。
321320
这类非更改性质的 PodSecurityPolicy 对象之间的顺序无关紧要。
322321
2. 如果必须要为 Pod 设置默认值或者其他配置,(按名称顺序)选择第一个允许
323322
Pod 操作的 PodSecurityPolicy 对象。

0 commit comments

Comments
 (0)