staging/podsecuritypolicy/rbac/README.md: update to use PSP from policy API group. (#208)

This commit is contained in:
Vyacheslav Semushin 2018-03-21 21:46:02 +01:00 committed by Ahmet Alp Balkan
parent cca6ae38bb
commit 1404d1a02b
1 changed files with 2 additions and 2 deletions

View File

@ -46,7 +46,7 @@ example we will use two policies, `restricted` and `privileged`. The `privileged
The `restricted` policy only allows limited users, groups, volume types, and does not allow host access or privileged containers. The `restricted` policy only allows limited users, groups, volume types, and does not allow host access or privileged containers.
```yaml ```yaml
apiVersion: extensions/v1beta1 apiVersion: policy/v1beta1
kind: PodSecurityPolicy kind: PodSecurityPolicy
metadata: metadata:
name: privileged name: privileged
@ -71,7 +71,7 @@ spec:
- min: 1 - min: 1
max: 65536 max: 65536
--- ---
apiVersion: extensions/v1beta1 apiVersion: policy/v1beta1
kind: PodSecurityPolicy kind: PodSecurityPolicy
metadata: metadata:
name: restricted name: restricted