Note that AdmissionConfiguration is a static configuration to the apiserver.
We cannot use `kubectl apply` to apply it to the cluster.
Doing that gives the following error:
no matches for kind "AdmissionConfiguration" in version "apiserver.config.k8s.io/v1"
This commit is contained in:
parent
c3cd5cf472
commit
a3466ca3da
|
|
@ -52,6 +52,9 @@ plugins:
|
|||
# Array of namespaces to exempt.
|
||||
namespaces: []
|
||||
```
|
||||
{{< note >}}
|
||||
The above manifest needs to be specified via the `--admission-control-config-file` to kube-apiserver.
|
||||
{{< /note >}}
|
||||
|
||||
{{< note >}}
|
||||
`pod-security.admission.config.k8s.io/v1` configuration requires v1.25+.
|
||||
|
|
|
|||
Loading…
Reference in New Issue