From 83ee051d334c3a8bf6d247b0effe3c9b65e113b7 Mon Sep 17 00:00:00 2001 From: Blaine Gardner Date: Tue, 5 Apr 2022 12:38:35 -0600 Subject: [PATCH] monitoring: remove prometheusrules kind from RBAC Minor update to remove prometheus rules from RBAC, which is no longer managed by Rook. Signed-off-by: Blaine Gardner (cherry picked from commit 0e08aeedac8a612d103c1c6d644c43c0f38c866e) --- build/rbac/rbac.yaml | 1 - deploy/charts/library/templates/_cluster-monitoring.tpl | 1 - 2 files changed, 2 deletions(-) diff --git a/build/rbac/rbac.yaml b/build/rbac/rbac.yaml index 8e372e4bb..d186fe070 100644 --- a/build/rbac/rbac.yaml +++ b/build/rbac/rbac.yaml @@ -939,7 +939,6 @@ rules: - monitoring.coreos.com resources: - servicemonitors - - prometheusrules verbs: - get - list diff --git a/deploy/charts/library/templates/_cluster-monitoring.tpl b/deploy/charts/library/templates/_cluster-monitoring.tpl index eb9f7847f..99173d8ce 100644 --- a/deploy/charts/library/templates/_cluster-monitoring.tpl +++ b/deploy/charts/library/templates/_cluster-monitoring.tpl @@ -14,7 +14,6 @@ rules: - "monitoring.coreos.com" resources: - servicemonitors - - prometheusrules verbs: - get - list