helm-charts icon indicating copy to clipboard operation
helm-charts copied to clipboard

telegraf-ds cluster role bind error

Open Navifra-Kerry opened this issue 3 years ago • 2 comments

 [inputs.kube_inventory] Error in plugin: persistentvolumes is forbidden: User "system:serviceaccount:default:telegraf-telegraf-ds" cannot list resource "persistentvolumes" in API group "" at the cluster scope

Navifra-Kerry avatar Sep 27 '22 06:09 Navifra-Kerry

Seems like the telegraf role comes without any permissions by default. Have you tried populating the .Values.rbac.rules property in the values.yaml?

Efrat19 avatar Oct 02 '22 14:10 Efrat19

No. I directly modified the role.yaml

Navifra-Kerry avatar Oct 03 '22 00:10 Navifra-Kerry