docs/tasks/administer-cluster/sysctl-cluster.md: use PSP from policy API group. (#7998)
This commit is contained in:
committed by
k8s-ci-robot
parent
de8f4cd32c
commit
1c42287a08
@@ -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