From 8e494f3aa137147f4550a9ec2f02b2ff572ab16b Mon Sep 17 00:00:00 2001 From: Steve Hipwell Date: Tue, 16 Apr 2024 18:07:35 +0100 Subject: [PATCH] fix(chart): Correct fix for ServiceMonitor indentation (#6029) Signed-off-by: Steve Hipwell --- charts/karpenter/templates/servicemonitor.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/karpenter/templates/servicemonitor.yaml b/charts/karpenter/templates/servicemonitor.yaml index 3ab5f9288650..70f07608fb2c 100644 --- a/charts/karpenter/templates/servicemonitor.yaml +++ b/charts/karpenter/templates/servicemonitor.yaml @@ -21,9 +21,9 @@ spec: matchLabels: {{- include "karpenter.selectorLabels" . | nindent 6 }} endpoints: - - port: http-metrics - path: /metrics + - port: http-metrics + path: /metrics {{- with .Values.serviceMonitor.endpointConfig }} - {{- toYaml . | nindent 4 }} + {{- toYaml . | nindent 6 }} {{- end }} {{- end -}}