Skip to content

Commit 1a04bc9

Browse files
authored
[kube-prometheus-stack] Update clusterrole to include events.k8s.io API group (#6301)
1 parent 68b86d4 commit 1a04bc9

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

charts/kube-prometheus-stack/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ name: kube-prometheus-stack
3131
sources:
3232
- https://github.com/prometheus-community/helm-charts
3333
- https://github.com/prometheus-operator/kube-prometheus
34-
version: 79.2.0
34+
version: 79.2.1
3535
# renovate: github=prometheus-operator/prometheus-operator
3636
appVersion: v0.86.1
3737
kubeVersion: ">=1.25.0-0"

charts/kube-prometheus-stack/templates/prometheus-operator/clusterrole.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ rules:
8181
- watch
8282
- apiGroups:
8383
- ""
84+
- events.k8s.io
8485
resources:
8586
- events
8687
verbs:
@@ -100,7 +101,6 @@ rules:
100101
- storageclasses
101102
verbs:
102103
- get
103-
{{- if .Capabilities.APIVersions.Has "discovery.k8s.io/v1/EndpointSlice" }}
104104
- apiGroups:
105105
- discovery.k8s.io
106106
resources:
@@ -113,4 +113,3 @@ rules:
113113
- update
114114
- delete
115115
{{- end }}
116-
{{- end }}

0 commit comments

Comments
 (0)