Skip to content

Commit

Permalink
Update enforce-standards-admission-controller.md
Browse files Browse the repository at this point in the history
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/VERSION
  • Loading branch information
Alexhha authored Oct 17, 2023
1 parent c716e3e commit 2d8edf7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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.
#
Expand Down

0 comments on commit 2d8edf7

Please sign in to comment.