Skip to content

Commit

Permalink
Add nodes/metrics ressource in clusterRole (#276)
Browse files Browse the repository at this point in the history
  • Loading branch information
emiran-orange authored Apr 29, 2022
1 parent 5115c2e commit 035f0dc
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions charts/netdata/templates/clusterrole.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 035f0dc

Please sign in to comment.