diff --git a/setup/roles.yaml b/setup/roles.yaml index bede5e8..a91e48e 100644 --- a/setup/roles.yaml +++ b/setup/roles.yaml @@ -4,17 +4,17 @@ metadata: name: hostpath-provisioner rules: - apiGroups: [""] - resources: ["persistentvolumes"] - verbs: ["get", "list", "watch", "create", "delete"] + resources: ["persistentvolumes"] + verbs: ["get", "list", "watch", "create", "delete"] - apiGroups: [""] - resources: ["persistentvolumeclaims"] - verbs: ["get", "list", "watch", "update"] + resources: ["persistentvolumeclaims"] + verbs: ["get", "list", "watch", "update"] - apiGroups: ["storage.k8s.io"] - resources: ["storageclasses"] - verbs: ["get", "list", "watch"] + resources: ["storageclasses"] + verbs: ["get", "list", "watch"] - apiGroups: [""] - resources: ["events"] - verbs: ["list", "watch", "create", "update", "patch"] + resources: ["events"] + verbs: ["list", "watch", "create", "update", "patch"] - apiGroups: [""] - resources: ["services", "endpoints"] - verbs: ["get"] + resources: ["services", "endpoints"] + verbs: ["get"]