Skip to content

Commit

Permalink
[prometheus] Add permission on endpointslices in cluster role (promet…
Browse files Browse the repository at this point in the history
…heus-community#3840)

* Add permission on endpointslices in cluster role

Signed-off-by: zeritti <[email protected]>

* Bump chart version

Signed-off-by: zeritti <[email protected]>

---------

Signed-off-by: zeritti <[email protected]>
Co-authored-by: MH <[email protected]>
  • Loading branch information
2 people authored and Matiasmct committed Mar 20, 2024
1 parent e99370c commit 013f482
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/prometheus/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
name: prometheus
appVersion: v2.47.0
version: 25.0.0
version: 25.1.0
kubeVersion: ">=1.19.0-0"
description: Prometheus is a monitoring system and time series database.
home: https://prometheus.io/
Expand Down
8 changes: 8 additions & 0 deletions charts/prometheus/templates/clusterrole.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,14 @@ rules:
- get
- list
- watch
- apiGroups:
- "discovery.k8s.io"
resources:
- endpointslices
verbs:
- get
- list
- watch
- nonResourceURLs:
- "/metrics"
verbs:
Expand Down

0 comments on commit 013f482

Please sign in to comment.