Update enforce-standards-admission-controller.md
It seems comment was set to a wrong field. There is no need to change apiserver.config.k8s.io/VERSION, we need to modify only pod-security.admission.config.k8s.io/VERSIONpull/43528/head
parent
c716e3eb2f
commit
2d8edf7829
|
@ -33,12 +33,12 @@ For v1.22, use [v1alpha1](https://v1-22.docs.kubernetes.io/docs/tasks/configure-
|
|||
{{< /note >}}
|
||||
|
||||
```yaml
|
||||
apiVersion: apiserver.config.k8s.io/v1 # see compatibility note
|
||||
apiVersion: apiserver.config.k8s.io/v1
|
||||
kind: AdmissionConfiguration
|
||||
plugins:
|
||||
- name: PodSecurity
|
||||
configuration:
|
||||
apiVersion: pod-security.admission.config.k8s.io/v1
|
||||
apiVersion: pod-security.admission.config.k8s.io/v1 # see compatibility note
|
||||
kind: PodSecurityConfiguration
|
||||
# Defaults applied when a mode label is not set.
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue