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:
Nir Rozenbaum 2020-05-14 08:25:01 -04:00
parent 4b5788e847
commit 26e4d23789

View file

@ -6,9 +6,10 @@ rules:
- apiGroups:
- ""
resources:
- namespaces
- pods
- services
- nodes
- nodes/stats
verbs:
- get
- list
- watch