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
6 months agoBobbie
6 months agoCyndy
7 months agoVerona
7 months agoMerilyn
7 months agoLaila
7 months agoYaeko
7 months agoAnnita
7 months agoRemedios
7 months agoBarbra
7 months agoAlishia
7 months agoAnisha
7 months agoSimona
7 months ago