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.
Aliza
4 days agoTimothy
9 days agoFrancene
15 days agoVan
20 days agoMalinda
25 days agoNan
1 month agoVilma
1 month agoQuentin
1 month agoGoldie
2 months agoFelicitas
2 months agoRossana
2 months agoDoug
3 months agoBronwyn
3 months agoCarin
3 months agoCandra
3 months agoPa
3 months agoMindy
3 months agoErnie
4 months agoJesus
4 months agoLindsey
4 months agoPete
4 months agoBulah
4 months ago