diff --git a/assets/scss/_custom.scss b/assets/scss/_custom.scss index 9cf126a9e0..7d8597d20c 100644 --- a/assets/scss/_custom.scss +++ b/assets/scss/_custom.scss @@ -329,6 +329,11 @@ main { .td-content>table td { word-break: break-word; } + + table.no-word-break td, + table.no-word-break code { + word-break: normal; + } } diff --git a/content/en/docs/concepts/policy/pod-security-policy.md b/content/en/docs/concepts/policy/pod-security-policy.md index 34ea1ecf3f..ea16157fcb 100644 --- a/content/en/docs/concepts/policy/pod-security-policy.md +++ b/content/en/docs/concepts/policy/pod-security-policy.md @@ -11,9 +11,13 @@ weight: 30 {{< feature-state for_k8s_version="v1.21" state="deprecated" >}} -PodSecurityPolicy is deprecated as of Kubernetes v1.21, and will be removed in v1.25. It has been replaced by -[Pod Security Admission](/docs/concepts/security/pod-security-admission/). For more information on the deprecation, +{{< caution >}} +PodSecurityPolicy is deprecated as of Kubernetes v1.21, and **will be removed in v1.25**. We recommend migrating to +[Pod Security Admission](/docs/concepts/security/pod-security-admission/), or a 3rd party admission plugin. +For a migration guide, see [Migrate from PodSecurityPolicy to the Built-In PodSecurity Admission Controller](/docs/tasks/configure-pod-container/migrate-from-psp/). +For more information on the deprecation, see [PodSecurityPolicy Deprecation: Past, Present, and Future](/blog/2021/04/06/podsecuritypolicy-deprecation-past-present-and-future/). +{{< /caution >}} Pod Security Policies enable fine-grained authorization of pod creation and updates. diff --git a/content/en/docs/concepts/security/pod-security-standards.md b/content/en/docs/concepts/security/pod-security-standards.md index 73341e4c71..c4333c1542 100644 --- a/content/en/docs/concepts/security/pod-security-standards.md +++ b/content/en/docs/concepts/security/pod-security-standards.md @@ -52,8 +52,8 @@ fail validation.
PodSecurityPolicySpec |
+ Type | +Pod Security Standards Equivalent | +
|---|---|---|
privileged |
+ Validating | +Baseline & Restricted: false / undefined / nil |
+
defaultAddCapabilities |
+ Mutating & Validating | +Requirements match allowedCapabilities below. |
+
allowedCapabilities |
+ Validating | +
+ Baseline: subset of +
Restricted: empty / undefined / nil OR a list containing only |
+
requiredDropCapabilities |
+ Mutating & Validating | +
+ Baseline: no opinion +Restricted: must include |
+
volumes |
+ Validating | +
+ Baseline: anything except +
Restricted: subset of +
|
+
hostNetwork |
+ Validating | +Baseline & Restricted: false / undefined / nil |
+
hostPorts |
+ Validating | +Baseline & Restricted: undefined / nil / empty | +
hostPID |
+ Validating | +Baseline & Restricted: false / undefined / nil |
+
hostIPC |
+ Validating | +Baseline & Restricted: false / undefined / nil |
+
seLinux |
+ Mutating & Validating | +
+ Baseline & Restricted:
+
|
+
runAsUser |
+ Mutating & Validating | +
+ Baseline: Anything +Restricted: |
+
runAsGroup |
+ Mutating (MustRunAs) & Validating | ++ No opinion + | +
supplementalGroups |
+ Mutating & Validating | ++ No opinion + | +
fsGroup |
+ Mutating & Validating | ++ No opinion + | +
readOnlyRootFilesystem |
+ Mutating & Validating | ++ No opinion + | +
defaultAllowPrivilegeEscalation |
+ Mutating | ++ No opinion (non-validating) + | +
allowPrivilegeEscalation |
+ Mutating & Validating | +
+ Only mutating if set to Baseline: No opinion +Restricted: |
+
allowedHostPaths |
+ Validating | +No opinion (volumes takes precedence) | +
allowedFlexVolumes |
+ Validating | +No opinion (volumes takes precedence) | +
allowedCSIDrivers |
+ Validating | +No opinion (volumes takes precedence) | +
allowedUnsafeSysctls |
+ Validating | +Baseline & Restricted: undefined / nil / empty | +
forbiddenSysctls |
+ Validating | +No opinion | +
allowedProcMountTypes(alpha feature) |
+ Validating | +Baseline & Restricted: ["Default"] OR undefined / nil / empty |
+
runtimeClass .defaultRuntimeClassName |
+ Mutating | +No opinion | +
runtimeClass .allowedRuntimeClassNames |
+ Validating | +No opinion | +
PSP Annotation |
+ Type | +Pod Security Standards Equivalent | +
|---|---|---|
seccomp.security.alpha.kubernetes.io/defaultProfileName |
+ Mutating | +No opinion | +
seccomp.security.alpha.kubernetes.io/allowedProfileNames |
+ Validating | +
+ Baseline: Restricted:
|
+
apparmor.security.beta.kubernetes.io/defaultProfileName |
+ Mutating | +No opinion | +
apparmor.security.beta.kubernetes.io/allowedProfileNames |
+ Validating | +
+ Baseline: Restricted:
|
+