add envFromRef tpl to initcontainers

This commit is contained in:
Youcef Guichi
2023-04-03 10:54:50 +02:00
parent 576204759f
commit 314defb171
3 changed files with 1 additions and 0 deletions
Binary file not shown.
Binary file not shown.
@@ -55,6 +55,7 @@ spec:
- name: {{ .name }} - name: {{ .name }}
image: "{{ .image }}:{{ .tag }}" image: "{{ .image }}:{{ .tag }}"
imagePullPolicy: {{ .imagePullPolicy | default "IfNotPresent" }} imagePullPolicy: {{ .imagePullPolicy | default "IfNotPresent" }}
{{- include "common.envFromRef.tpl" $ | nindent 10 }}
{{- if .command }} {{- if .command }}
command: command:
- {{ $.Values.shell }} - {{ $.Values.shell }}