Skip to content

Commit

Permalink
Make sure we have enough access for span metrics (#1010)
Browse files Browse the repository at this point in the history
  • Loading branch information
grcevski authored Jul 12, 2024
1 parent 0c7d38f commit 1d2b480
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions charts/beyla/templates/cluster-role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,8 @@ rules:
resources: [ "replicasets" ]
verbs: [ "list", "watch" ]
- apiGroups: [ "" ]
{{- if or (eq .Values.preset "network") .Values.config.data.network }}
resources: [ "pods", "services", "nodes" ]
{{- else }}
resources: [ "pods" ]
{{- end }}
verbs: [ "list", "watch" ]
verbs: [ "list", "watch", "get" ]
{{- with .Values.rbac.extraClusterRoleRules }}
{{- toYaml . | nindent 2 }}
{{- end}}
Expand Down

0 comments on commit 1d2b480

Please sign in to comment.