added secret envs to filer (#4284)

This commit is contained in:
Matt
2023-03-07 15:18:41 -06:00
committed by GitHub
parent 0cf4f2e891
commit 889ecf5c9d
2 changed files with 18 additions and 0 deletions

View File

@@ -97,6 +97,12 @@ spec:
value: {{ $value | quote }}
{{- end }}
{{- end }}
{{- if .Values.filer.secretExtraEnvironmentVars }}
{{- range $key, $value := .Values.filer.secretExtraEnvironmentVars }}
- name: {{ $key }}
valueFrom: {{ toYaml $value | nindent 16 }}
{{- end }}
{{- end }}
command:
- "/bin/sh"
- "-ec"