Skip to content

Commit

Permalink
staging/podsecuritypolicy/rbac: use PSP from policy API group. (#206)
Browse files Browse the repository at this point in the history
  • Loading branch information
php-coder authored and ahmetb committed Feb 28, 2018
1 parent bb68db0 commit 980a149
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions staging/podsecuritypolicy/rbac/policies.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: extensions/v1beta1
apiVersion: policy/v1beta1
kind: PodSecurityPolicy
metadata:
name: privileged
Expand All @@ -23,7 +23,7 @@ spec:
- min: 1
max: 65536
---
apiVersion: extensions/v1beta1
apiVersion: policy/v1beta1
kind: PodSecurityPolicy
metadata:
name: restricted
Expand Down
4 changes: 2 additions & 2 deletions staging/podsecuritypolicy/rbac/roles.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
name: restricted-psp-user
rules:
- apiGroups:
- extensions
- policy
resources:
- podsecuritypolicies
resourceNames:
Expand All @@ -20,7 +20,7 @@ metadata:
name: privileged-psp-user
rules:
- apiGroups:
- extensions
- policy
resources:
- podsecuritypolicies
resourceNames:
Expand Down

0 comments on commit 980a149

Please sign in to comment.