From 13d313134d091901e22385eba200e0bff600f766 Mon Sep 17 00:00:00 2001 From: maximilien Date: Fri, 28 Aug 2026 02:00:13 +0200 Subject: [PATCH] helm: ServiceMonitor: validate tlsConfig and relabeling config before injecting it --- script/helm/garage/templates/servicemonitor.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/script/helm/garage/templates/servicemonitor.yaml b/script/helm/garage/templates/servicemonitor.yaml index 6838d09f..6ad18c0e 100644 --- a/script/helm/garage/templates/servicemonitor.yaml +++ b/script/helm/garage/templates/servicemonitor.yaml @@ -28,11 +28,11 @@ spec: scheme: {{ .Values.monitoring.metrics.serviceMonitor.scheme }} {{- with .Values.monitoring.metrics.serviceMonitor.tlsConfig }} tlsConfig: - {{- toYaml . | nindent 6 }} + {{- toYaml . | nindent 8 }} {{- end }} {{- with .Values.monitoring.metrics.serviceMonitor.relabelings }} relabelings: - {{- toYaml . | nindent 6 }} + {{- toYaml . | nindent 8 }} {{- end }} jobLabel: "{{ .Release.Name }}" selector: @@ -41,4 +41,4 @@ spec: namespaceSelector: matchNames: - {{ .Release.Namespace }} -{{- end }} \ No newline at end of file +{{- end }}