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

Commit

Permalink
psp: Make the restrictive policy as the first on the list
Browse files Browse the repository at this point in the history
Signed-off-by: Suraj Deshmukh <suraj@kinvolk.io>
  • Loading branch information
surajssd committed Jan 16, 2021
1 parent 39d4f89 commit 2a10e7a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: policy/v1beta1
kind: PodSecurityPolicy
metadata:
name: zz-minimal
name: aaa-minimal
annotations:
seccomp.security.alpha.kubernetes.io/allowedProfileNames: 'docker/default,runtime/default'
seccomp.security.alpha.kubernetes.io/defaultProfileName: 'docker/default'
Expand Down Expand Up @@ -56,7 +56,7 @@ rules:
resources: ['podsecuritypolicies']
verbs: ['use']
resourceNames:
- zz-minimal
- aaa-minimal
---
kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1
Expand Down

0 comments on commit 2a10e7a

Please sign in to comment.