Skip to content

Commit

Permalink
Patch position of initContainers
Browse files Browse the repository at this point in the history
  • Loading branch information
aturpin1789 committed Mar 27, 2023
1 parent 7fa5bcc commit b38b707
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions chart/elastalert2/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,16 +42,15 @@ spec:
{{- if .Values.podSecurityContext }}
securityContext:
{{ toYaml .Values.podSecurityContext | indent 8 }}
{{- end }}
containers:
{{- if .Values.extraContainers }}
{{ .Values.extraContainers | toYaml | indent 6}}
{{- end }}
{{- if .Values.extraInitContainers }}
initContainers:
{{ .Values.extraInitContainers | toYaml | indent 6}}
{{- end }}

containers:
{{- if .Values.extraContainers }}
{{ .Values.extraContainers | toYaml | indent 6}}
{{- end }}
- name: elastalert
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
Expand Down

0 comments on commit b38b707

Please sign in to comment.