From 5a637775b601cdc4aa158fe56e76fc134b818042 Mon Sep 17 00:00:00 2001 From: Ilia Lazebnik Date: Thu, 25 Jan 2024 11:45:30 +0200 Subject: [PATCH] [kube-prometheus-stack] add missing rbac permissions for 0.71.0 (#4175) * add missing rbac permissions for 0.71.0 Signed-off-by: drfaust92 * add missing rbac permissions for 0.71.0 Signed-off-by: drfaust92 --------- Signed-off-by: drfaust92 --- charts/kube-prometheus-stack/Chart.yaml | 2 +- .../templates/prometheus-operator/clusterrole.yaml | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/charts/kube-prometheus-stack/Chart.yaml b/charts/kube-prometheus-stack/Chart.yaml index 094caaa49860..73f95d3fa7fe 100644 --- a/charts/kube-prometheus-stack/Chart.yaml +++ b/charts/kube-prometheus-stack/Chart.yaml @@ -23,7 +23,7 @@ name: kube-prometheus-stack sources: - https://github.com/prometheus-community/helm-charts - https://github.com/prometheus-operator/kube-prometheus -version: 56.0.3 +version: 56.0.4 appVersion: v0.71.0 kubeVersion: ">=1.19.0-0" home: https://github.com/prometheus-operator/kube-prometheus diff --git a/charts/kube-prometheus-stack/templates/prometheus-operator/clusterrole.yaml b/charts/kube-prometheus-stack/templates/prometheus-operator/clusterrole.yaml index 64353107f4d2..ee9f44ea1271 100644 --- a/charts/kube-prometheus-stack/templates/prometheus-operator/clusterrole.yaml +++ b/charts/kube-prometheus-stack/templates/prometheus-operator/clusterrole.yaml @@ -75,6 +75,13 @@ rules: - get - list - watch +- apiGroups: + - "" + resources: + - events + verbs: + - patch + - create - apiGroups: - networking.k8s.io resources: