Files
HetznerTerra/infrastructure/charts/promtail/templates/clusterrole.yaml
T

22 lines
395 B
YAML
Raw Normal View History

2026-05-04 10:49:46 +00:00
{{- if .Values.rbac.create }}
kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: {{ include "promtail.fullname" . }}
labels:
{{- include "promtail.labels" . | nindent 4 }}
rules:
- apiGroups:
- ""
resources:
- nodes
- nodes/proxy
- services
- endpoints
- pods
verbs:
- get
- watch
- list
{{- end }}