mirror of
https://github.com/kubernetes-sigs/prometheus-adapter.git
synced 2026-04-05 17:27:51 +00:00
fix forbidden issue by adding appropriate verbs in cluster role
https://github.com/DirectXMan12/k8s-prometheus-adapter/issues/274#issuecomment-602282471
This commit is contained in:
parent
4b5788e847
commit
26e4d23789
1 changed files with 3 additions and 2 deletions
|
|
@ -6,9 +6,10 @@ rules:
|
|||
- apiGroups:
|
||||
- ""
|
||||
resources:
|
||||
- namespaces
|
||||
- pods
|
||||
- services
|
||||
- nodes
|
||||
- nodes/stats
|
||||
verbs:
|
||||
- get
|
||||
- list
|
||||
- watch
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue