Skip to content

Commit

Permalink
Remove nodes/metrics permission from ClusterRole
Browse files Browse the repository at this point in the history
As part of least priviledge work, remove the nodes/metrics permission as
we're not scraping nodes for information. Everything appears to continue
working in STF without this permission.
  • Loading branch information
leifmadsen committed Sep 18, 2023
1 parent 6bb6393 commit 0273250
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions roles/servicetelemetry/tasks/component_prometheus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,6 @@
metadata:
name: prometheus-stf
rules:
- apiGroups:
- ""
resources:
- nodes/metrics
verbs:
- get
- nonResourceURLs:
- /metrics
verbs:
Expand Down

0 comments on commit 0273250

Please sign in to comment.