Skip to content

Commit

Permalink
feat: tpl
Browse files Browse the repository at this point in the history
  • Loading branch information
shahargl committed Aug 21, 2024
1 parent 39260fc commit bc2e4c2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions charts/keep/templates/keep-backend.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -98,15 +98,15 @@ spec:
{{- end }}
{{- range .Values.backend.extraInitContainers }}
- name: {{ .name }}
image: {{ .image }}
image: {{ tpl .image $ }}
{{- with .imagePullPolicy }}
imagePullPolicy: {{ . }}
{{- end }}
{{- with .command }}
command: {{ toYaml . | nindent 12 }}
command: {{ tpl (toYaml .) $ | nindent 12 }}
{{- end }}
{{- with .args }}
args: {{ toYaml . | nindent 12 }}
args: {{ tpl (toYaml .) $ | nindent 12 }}
{{- end }}
{{- with .env }}
env: {{ toYaml . | nindent 12 }}
Expand Down

0 comments on commit bc2e4c2

Please sign in to comment.