Skip to content

Commit

Permalink
[prometheus-blackbox-exporter] fix issue when set extra containers (p…
Browse files Browse the repository at this point in the history
…rometheus-community#3850)

* fix issue when set extra containers

Signed-off-by: Allan Hung <[email protected]>

* consistent indentation

Signed-off-by: Allan Hung <[email protected]>

---------

Signed-off-by: Allan Hung <[email protected]>
Signed-off-by: allanhung <[email protected]>
Co-authored-by: MH <[email protected]>
Signed-off-by: Sacha <[email protected]>
  • Loading branch information
2 people authored and sachasmart committed Dec 14, 2023
1 parent 2bff9c1 commit 2050037
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions charts/prometheus-blackbox-exporter/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -122,7 +122,7 @@ affinity:
{{- end }}
{{- with .Values.tolerations }}
tolerations:
{{- toYaml . | nindent 2 }}
{{ toYaml . }}
{{- end }}
{{- if .Values.image.pullSecrets }}
imagePullSecrets:
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 2050037

Please sign in to comment.