"helm.sh/hook": post-install
"helm.sh/hook-weight": "2"
spec:
+ serviceAccountName: {{ template "prometheus.serviceAccountName" . }}
serviceMonitorSelector:
matchLabels:
app: {{ template "prometheus.name" . }}-prometheus
serviceMonitorNamespaceSelector:
matchNames:
- {{ .Release.Namespace | quote }}
+ resources:
+{{ toYaml .Values.prometheus.resources | indent 4 }}
# TODO: Templatizing multiple remote read/write.
# Especially Kafka adapater.