From 5eda02ba3e6c1e0d89764f086d5ce44b9ec6cb06 Mon Sep 17 00:00:00 2001 From: okozachenko Date: Mon, 3 Aug 2020 15:50:38 +0300 Subject: [PATCH] Modify member role - Add role to get, list and watch prometheusrules - Add role to get, list and watch podmonitors Change-Id: I756874300bdbb507c415da84ae3fea6706404e6a --- charts/rbac/templates/clusterrole-members.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/charts/rbac/templates/clusterrole-members.yaml b/charts/rbac/templates/clusterrole-members.yaml index 8d81846..3f0e3a8 100644 --- a/charts/rbac/templates/clusterrole-members.yaml +++ b/charts/rbac/templates/clusterrole-members.yaml @@ -46,3 +46,7 @@ rules: - apiGroups: ["storage.k8s.io"] resources: ["storageclasses"] verbs: ["get", "list", "watch"] +# View podmonitors and prometheusrules +- apiGroups: ["monitoring.coreos.com"] + resources: ["podmonitors", "prometheusrules"] + verbs: ["get", "list", "watch"] \ No newline at end of file