1 {{- if .Values.rbac.create -}}
2 {{- if .Values.serviceAccount.create -}}
6 name: {{ template "prometheus-node-exporter.serviceAccountName" . }}
8 app: {{ template "prometheus-node-exporter.name" . }}
9 chart: {{ template "prometheus-node-exporter.chart" . }}
10 release: "{{ .Release.Name }}"
11 heritage: "{{ .Release.Service }}"
13 {{ toYaml .Values.serviceAccount.imagePullSecrets | indent 2 }}