From 035f0dc837d2b7ce8f931d8cd3d492008da90086 Mon Sep 17 00:00:00 2001 From: emiran-orange <71817149+emiran-orange@users.noreply.github.com> Date: Fri, 29 Apr 2022 10:06:16 +0200 Subject: [PATCH] Add nodes/metrics ressource in clusterRole (#276) --- charts/netdata/templates/clusterrole.yaml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/charts/netdata/templates/clusterrole.yaml b/charts/netdata/templates/clusterrole.yaml index c7e1ba4..4f8a87a 100644 --- a/charts/netdata/templates/clusterrole.yaml +++ b/charts/netdata/templates/clusterrole.yaml @@ -11,11 +11,12 @@ metadata: rules: - apiGroups: [""] resources: - - "pods" # used by sd, netdata (cgroup-name.sh, get-kubernetes-labels.sh) - - "services" # used by sd - - "configmaps" # used by sd - - "secrets" # used by sd - - "nodes" # used by go.d.plugin (k8s_state) + - "pods" # used by sd, netdata (cgroup-name.sh, get-kubernetes-labels.sh) + - "services" # used by sd + - "configmaps" # used by sd + - "secrets" # used by sd + - "nodes" # used by go.d.plugin (k8s_state) + - "nodes/metrics" # used by go.d.plugin (k8s_kubelet) when querying kubelet's HTTPS endpoint verbs: - "get" - "list"