Skip to content
This repository has been archived by the owner on Jun 29, 2022. It is now read-only.

Commit

Permalink
PSP: Rename privileged to zz-privileged
Browse files Browse the repository at this point in the history
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.

Signed-off-by: Suraj Deshmukh <suraj@kinvolk.io>
  • Loading branch information
surajssd committed Apr 21, 2020
1 parent 900cf09 commit c5d3f95
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: policy/v1beta1
kind: PodSecurityPolicy
metadata:
name: privileged
name: zz-privileged
annotations:
seccomp.security.alpha.kubernetes.io/allowedProfileNames: '*'
spec:
Expand Down Expand Up @@ -35,7 +35,7 @@ rules:
resources: ['podsecuritypolicies']
verbs: ['use']
resourceNames:
- privileged
- zz-privileged
---
kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1
Expand Down
6 changes: 3 additions & 3 deletions pkg/assets/generated_assets.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c5d3f95

Please sign in to comment.