Mapping PodSecurityPolicies to Pod Security Standards
For each applicable parameter, the allowed values for the Baseline and profiles are listed. Anything outside the allowed values for those profiles would fall under the Privileged profile. “No opinion” means all values are allowed under all Pod Security Standards.
For a step-by-step migration guide, see .
The fields enumerated in this table are part of the PodSecurityPolicySpec
, which is specified under the .spec
field path.
PodSecurityPolicy annotations
The annotations enumerated in this table can be specified under .metadata.annotations
on the PodSecurityPolicy object.
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:
|