From 3f512fee7b944faa29a84d0141856c7e214d27b5 Mon Sep 17 00:00:00 2001 From: Adam Hendel Date: Wed, 29 May 2024 08:29:27 -0500 Subject: [PATCH 1/3] add rule for podmonitors.monitoring.coreos.com --- charts/tembo-operator/templates/rbac-operator.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/charts/tembo-operator/templates/rbac-operator.yaml b/charts/tembo-operator/templates/rbac-operator.yaml index 88f32a04b..832f1ba9f 100644 --- a/charts/tembo-operator/templates/rbac-operator.yaml +++ b/charts/tembo-operator/templates/rbac-operator.yaml @@ -30,6 +30,9 @@ rules: - apiGroups: ["monitoring.coreos.com"] resources: ["podmonitors"] verbs: ["get", "patch", "update", "delete", "list", "watch"] + - apiGroups: ["podmonitors.monitoring.coreos.com"] + resources: ["podmonitors"] + verbs: ["get", "patch", "update", "delete", "list", "watch"] - apiGroups: ["events.k8s.io"] resources: ["events"] verbs: ["create"] From 1dcb1b96eadc087183fb13c812203bc911b21d98 Mon Sep 17 00:00:00 2001 From: Adam Hendel Date: Wed, 29 May 2024 08:30:04 -0500 Subject: [PATCH 2/3] Update Chart.yaml --- charts/tembo-operator/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/tembo-operator/Chart.yaml b/charts/tembo-operator/Chart.yaml index 341fb4dd9..995e22288 100644 --- a/charts/tembo-operator/Chart.yaml +++ b/charts/tembo-operator/Chart.yaml @@ -3,7 +3,7 @@ name: tembo-operator description: "Helm chart to deploy the tembo-operator" type: application icon: https://cloud.tembo.io/images/TemboElephant.png -version: 0.6.1 +version: 0.6.2 home: https://tembo.io sources: - https://github.com/tembo-io/tembo From 8fb67ec4989a53c6ca8c0a61895c196d6f5f33bf Mon Sep 17 00:00:00 2001 From: Adam Hendel Date: Wed, 29 May 2024 08:44:32 -0500 Subject: [PATCH 3/3] Update rbac-operator.yaml --- charts/tembo-operator/templates/rbac-operator.yaml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/charts/tembo-operator/templates/rbac-operator.yaml b/charts/tembo-operator/templates/rbac-operator.yaml index 832f1ba9f..37bac6e7a 100644 --- a/charts/tembo-operator/templates/rbac-operator.yaml +++ b/charts/tembo-operator/templates/rbac-operator.yaml @@ -29,10 +29,7 @@ rules: verbs: ["get", "list", "watch", "patch", "update"] - apiGroups: ["monitoring.coreos.com"] resources: ["podmonitors"] - verbs: ["get", "patch", "update", "delete", "list", "watch"] - - apiGroups: ["podmonitors.monitoring.coreos.com"] - resources: ["podmonitors"] - verbs: ["get", "patch", "update", "delete", "list", "watch"] + verbs: ["create", "get", "patch", "update", "delete", "list", "watch"] - apiGroups: ["events.k8s.io"] resources: ["events"] verbs: ["create"]