From 587b31cfd794317de47ecc704ec2db693b5d0af3 Mon Sep 17 00:00:00 2001 From: alejandroesc Date: Tue, 12 Dec 2023 10:29:36 -0500 Subject: [PATCH] operator: fix missing podmonitor role --- charts/operator/Chart.yaml | 2 +- charts/operator/templates/role.yaml | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/charts/operator/Chart.yaml b/charts/operator/Chart.yaml index 6f4238e309..f6ca632e4d 100644 --- a/charts/operator/Chart.yaml +++ b/charts/operator/Chart.yaml @@ -6,7 +6,7 @@ type: application # The chart version and the app version are not the same and will not track # together. The chart version is a semver representation of changes to this # chart. -version: 0.4.9 +version: 0.4.10 # This is the default version of the operator being deployed. # ** NOTE for maintainers: please enssure the artifacthub image annotation is updated before merging diff --git a/charts/operator/templates/role.yaml b/charts/operator/templates/role.yaml index cdaddef621..ab9a992e33 100644 --- a/charts/operator/templates/role.yaml +++ b/charts/operator/templates/role.yaml @@ -264,6 +264,18 @@ rules: - get - patch - update +- apiGroups: + - monitoring.coreos.com + resources: + - podmonitors + verbs: + - create + - delete + - get + - list + - patch + - update + - watch - apiGroups: - monitoring.coreos.com resources: