PSP: Rename `privileged` to `zz-privileged`
This commit renames the PSP `privileged` to `zz-privileged`. This is
done in order to avoid the situation where `privileged` PSP is picked up
accidently even though a specific, small scoped (in terms of
permissions) PSP exists.
apiVersion: policy/v1beta1
kind: PodSecurityPolicy
metadata:
- name: privileged
+ name: zz-privileged
annotations:
seccomp.security.alpha.kubernetes.io/allowedProfileNames: '*'
spec:
@@ -35,7 +35,7 @@ rules:
resources: ['podsecuritypolicies']
verbs: ['use']
resourceNames:
- - privileged
+ - zz-privileged
---
kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1
