Context
A PodSecurityPolicy shall prevent the creation of privileged Pods in a specific namespace.
Task
Create a new PodSecurityPolicy named prevent-psp-policy,which prevents the creation of privileged Pods.
Create a new ClusterRole named restrict-access-role, which uses the newly created PodSecurityPolicy prevent-psp-policy.
Create a new ServiceAccount named psp-restrict-sa in the existing namespace staging.
Finally, create a new ClusterRoleBinding named restrict-access-bind, which binds the newly created ClusterRole restrict-access-role to the newly created ServiceAccount psp-restrict-sa.
Paris
8 months agoYolande
8 months agoFreeman
7 months agoAleisha
7 months agoDorthy
7 months agoLinn
8 months agoHorace
8 months agoSang
8 months agoRemedios
9 months agoCherelle
7 months agoMadelyn
7 months agoJani
7 months agoJame
8 months agoIra
8 months agoGregg
8 months agoMarta
8 months ago