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 15, 2020
1 parent 20f2436 commit c88cfb4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 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
8 changes: 4 additions & 4 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 c88cfb4

Please sign in to comment.