1 {{- if and .Values.pushgateway.enabled .Values.serviceAccounts.pushgateway.create -}}
6 {{- include "prometheus.pushgateway.labels" . | nindent 4 }}
7 name: {{ template "prometheus.serviceAccountName.pushgateway" . }}
8 {{ include "prometheus.namespace" . | indent 2 }}
10 {{ toYaml .Values.serviceAccounts.pushgateway.annotations | indent 4 }}