Create a new Kubewarden policy that can be used to replace the seccomp official PSP.
Acceptance criteria
Implement a validating policy
The policy doesn't take any configuration value
The policy looks at the securityContext of all the Containers defined by a Pod
The policy blocks the creation of Pods that do not set a valid value for the seccompProfile field
The policy inspects: initContainers, spec.containers and ephemeral containers
Create a new Kubewarden policy that can be used to replace the seccomp official PSP.
Acceptance criteria
Implement a validating policy The policy doesn't take any configuration value The policy looks at the securityContext of all the Containers defined by a Pod The policy blocks the creation of Pods that do not set a valid value for the seccompProfile field The policy inspects: initContainers, spec.containers and ephemeral containers