fix a bug in the example initializerconfiguration
This commit is contained in:
@@ -112,19 +112,18 @@ apiVersion: admissionregistration.k8s.io/v1alpha1
|
|||||||
kind: InitializerConfiguration
|
kind: InitializerConfiguration
|
||||||
metadata:
|
metadata:
|
||||||
name: example-config
|
name: example-config
|
||||||
spec:
|
initializers:
|
||||||
initializers:
|
# the name needs to be fully qualified, i.e., containing at least two "."
|
||||||
# the name needs to be fully qualified, i.e., containing at least two "."
|
- name: podimage.example.com
|
||||||
- name: podimage.example.com
|
rules:
|
||||||
rules:
|
# apiGroups, apiVersion, resources all support wildcard "*".
|
||||||
# apiGroups, apiVersion, resources all support wildcard "*".
|
# "*" cannot be mixed with non-wildcard.
|
||||||
# "*" cannot be mixed with non-wildcard.
|
- apiGroups:
|
||||||
- apiGroups:
|
- ""
|
||||||
- ""
|
apiVersions:
|
||||||
apiVersions:
|
- v1
|
||||||
- v1
|
resources:
|
||||||
resources:
|
- pods
|
||||||
- pods
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Make sure that all expansions of the `<apiGroup, apiVersions, resources>` tuple
|
Make sure that all expansions of the `<apiGroup, apiVersions, resources>` tuple
|
||||||
|
|||||||
Reference in New Issue
Block a user