diff --git a/charts/prometheus-blackbox-exporter/templates/_helpers.tpl b/charts/prometheus-blackbox-exporter/templates/_helpers.tpl index 760bf48bd469..3eed0bd00d5d 100644 --- a/charts/prometheus-blackbox-exporter/templates/_helpers.tpl +++ b/charts/prometheus-blackbox-exporter/templates/_helpers.tpl @@ -110,7 +110,7 @@ automountServiceAccountToken: {{ .Values.automountServiceAccountToken }} serviceAccountName: {{ template "prometheus-blackbox-exporter.serviceAccountName" . }} {{- with .Values.topologySpreadConstraints }} topologySpreadConstraints: - {{- toYaml . | nindent 2 }} +{{ toYaml . }} {{- end }} {{- with .Values.nodeSelector }} nodeSelector: @@ -122,7 +122,7 @@ affinity: {{- end }} {{- with .Values.tolerations }} tolerations: - {{- toYaml . | nindent 2 }} +{{ toYaml . }} {{- end }} {{- if .Values.image.pullSecrets }} imagePullSecrets: @@ -155,10 +155,10 @@ sysctls: {{- end }} {{- with .Values.extraInitContainers }} initContainers: - {{- toYaml . | indent 2 }} +{{ toYaml . }} {{- end }} containers: -{{- with .Values.extraContainers }} +{{ with .Values.extraContainers }} {{- toYaml . }} {{- end }} - name: blackbox-exporter