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
4 months agoYolande
4 months agoFreeman
3 months agoAleisha
3 months agoDorthy
3 months agoLinn
4 months agoHorace
4 months agoSang
4 months agoRemedios
4 months agoCherelle
3 months agoMadelyn
3 months agoJani
3 months agoJame
4 months agoIra
4 months agoGregg
4 months agoMarta
4 months ago