Skip to content

Commit

Permalink
[prometheus] Add permission on endpointslices in cluster role (#3840)
Browse files Browse the repository at this point in the history
* 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
zeritti and zanhsieh authored Oct 2, 2023
1 parent 3205e45 commit 162e6be
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 162e6be

Please sign in to comment.