SIMULATION
Create a PSP that will prevent the creation of privileged pods in the namespace.
Create a new PodSecurityPolicy named prevent-privileged-policy which prevents the creation of privileged pods.
Create a new ServiceAccount named psp-sa in the namespace default.
Create a new ClusterRole named prevent-role, which uses the newly created Pod Security Policy prevent-privileged-policy.
Create a new ClusterRoleBinding named prevent-role-binding, which binds the created ClusterRole prevent-role to the created SA psp-sa.
Also, Check the Configuration is working or not by trying to Create a Privileged pod, it should get failed.
Iluminada
4 months agoBobbie
4 months agoCyndy
4 months agoVerona
5 months agoMerilyn
5 months agoLaila
5 months agoYaeko
5 months agoAnnita
5 months agoRemedios
5 months agoBarbra
5 months agoAlishia
5 months agoAnisha
5 months agoSimona
5 months ago