From d6232bd48aa986e1aa4a7001e48e2ed90828e8b0 Mon Sep 17 00:00:00 2001 From: Kashif Saadat Date: Fri, 24 Nov 2023 16:43:34 +0000 Subject: [PATCH] fix: missing permissions for telegraf ClusterRole (#568) --- charts/telegraf-ds/templates/role.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/telegraf-ds/templates/role.yaml b/charts/telegraf-ds/templates/role.yaml index 98610592..8c3190df 100644 --- a/charts/telegraf-ds/templates/role.yaml +++ b/charts/telegraf-ds/templates/role.yaml @@ -12,7 +12,7 @@ rules: resources: ["pods"] verbs: ["get", "list", "watch"] - apiGroups: [""] - resources: ["nodes/proxy", "nodes/stats"] + resources: ["nodes", "nodes/proxy", "nodes/stats", "persistentvolumes"] verbs: ["get", "list", "watch"] --- # Define global role with the default system:aggregate-to-view cluster role and the two rules we just created