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