docs/tasks/administer-cluster/sysctl-cluster.md: use PSP from policy API group. (#7998)
This commit is contained in:
committed by
zacharysarah
parent
96cbb1b2a7
commit
ca85e25bae
@@ -151,7 +151,7 @@ in a pod spec. It's a comma-separated list of plain sysctl names or sysctl patte
|
|||||||
Here is an example, it authorizes binding user creating pod with corresponding sysctls.
|
Here is an example, it authorizes binding user creating pod with corresponding sysctls.
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
apiVersion: extensions/v1beta1
|
apiVersion: policy/v1beta1
|
||||||
kind: PodSecurityPolicy
|
kind: PodSecurityPolicy
|
||||||
metadata:
|
metadata:
|
||||||
name: sysctl-psp
|
name: sysctl-psp
|
||||||
|
|||||||
Reference in New Issue
Block a user