From 76a4056911f296084af40f034f743792af2e8ae5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20Mass=C3=A9?= Date: Thu, 18 May 2017 18:00:16 +0100 Subject: [PATCH] improve setup --- setup/roles.yaml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) 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"]