From 64b74f3c9dfc549c498c5522cc7e3c9db2c29b71 Mon Sep 17 00:00:00 2001 From: Xing Yang Date: Tue, 18 Sep 2018 20:26:10 -0700 Subject: [PATCH] Remove unecessary verbs for endpoints --- deploy/kubernetes/setup-csi-snapshotter.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy/kubernetes/setup-csi-snapshotter.yaml b/deploy/kubernetes/setup-csi-snapshotter.yaml index f5285e6ae..6aad479ec 100644 --- a/deploy/kubernetes/setup-csi-snapshotter.yaml +++ b/deploy/kubernetes/setup-csi-snapshotter.yaml @@ -31,7 +31,7 @@ rules: verbs: ["list", "watch", "create", "update", "patch"] - apiGroups: [""] resources: ["endpoints"] - verbs: ["list", "watch", "create", "update", "delete", "get"] + verbs: ["update", "get"] - apiGroups: [""] resources: ["secrets"] verbs: ["get", "list"]