Replicate the persistent volume label admission plugin in a controller in

the cloud-controller-manager
This commit is contained in:
Robert Rati
2017-04-17 16:13:55 -04:00
parent 28f6b3fcc0
commit 53856420e8
5 changed files with 642 additions and 4 deletions

View File

@@ -0,0 +1,13 @@
kind: InitializerConfiguration
apiVersion: admissionregistration.k8s.io/v1alpha1
metadata:
name: pvlabel.kubernetes.io
initializers:
- name: pvlabel.kubernetes.io
rules:
- apiGroups:
- ""
apiVersions:
- "*"
resources:
- persistentvolumes