staging/podsecuritypolicy/rbac/README.md: update to use PSP from policy API group. (#208)
This commit is contained in:
parent
cca6ae38bb
commit
1404d1a02b
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue