helm add labels
@@ -8,8 +8,8 @@ metadata:
app: {{ template "kuberhealthy.name" . }}
prometheus: {{ .Values.prometheus.name }}
release: {{ .Values.prometheus.serviceMonitor.release }}
- {{- if .Values.prometheus.additionalLabels}}
- additionalLabels: {{ .Values.prometheus.additionalLabels | nindent 6}}
+ {{- if .Values.prometheus.serviceMonitor.additionalLabels}}
+ additionalLabels: {{ .Values.prometheus.serviceMonitor.additionalLabels | nindent 6}}
{{- end }}
name: {{ template "kuberhealthy.name" . }}
namespace: {{ .Values.prometheus.serviceMonitor.namespace }}
