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