diff --git a/deploy/chart/local-path-provisioner/templates/clusterrole.yaml b/deploy/chart/local-path-provisioner/templates/clusterrole.yaml index 7f58506a4569d8384cde052c2128f4a05367c231..607f856cbda19d2483f16d492bf2f80e611cf99a 100644 --- a/deploy/chart/local-path-provisioner/templates/clusterrole.yaml +++ b/deploy/chart/local-path-provisioner/templates/clusterrole.yaml @@ -13,7 +13,7 @@ rules: resources: [ "pods" ] verbs: [ "get", "list", "watch" ] - apiGroups: [""] - resources: ["endpoints", "persistentvolumes"] + resources: ["persistentvolumes"] verbs: ["*"] - apiGroups: [ "" ] resources: [ "events" ] diff --git a/deploy/local-path-storage.yaml b/deploy/local-path-storage.yaml index 81864f05f1f31fad6ae7d2d20cf095f817edd50e..ee3f35b174efc5c52a4f065bc45d233fb6a9f20a 100644 --- a/deploy/local-path-storage.yaml +++ b/deploy/local-path-storage.yaml @@ -34,7 +34,7 @@ rules: resources: [ "pods" ] verbs: [ "get", "list", "watch" ] - apiGroups: [ "" ] - resources: [ "endpoints", "persistentvolumes" ] + resources: [ "persistentvolumes" ] verbs: [ "*" ] - apiGroups: [ "" ] resources: [ "events" ] diff --git a/examples/quota/local-path-storage.yaml b/examples/quota/local-path-storage.yaml index e489eca75dae79f181d6cf15fd43158faecc8a1a..39d09fea121632bfe26a7a8c7c00b4e7e896841a 100644 --- a/examples/quota/local-path-storage.yaml +++ b/examples/quota/local-path-storage.yaml @@ -34,7 +34,7 @@ rules: resources: [ "pods" ] verbs: [ "get", "list", "watch" ] - apiGroups: [ "" ] - resources: [ "endpoints", "persistentvolumes" ] + resources: [ "persistentvolumes" ] verbs: [ "*" ] - apiGroups: [ "" ] resources: [ "events" ]