dynamic environment variables

This commit is contained in:
Jeffrey
2023-09-16 21:37:12 -05:00
parent 107cb85ba2
commit 5bf42be786
2 changed files with 11 additions and 7 deletions

View File

@@ -75,6 +75,10 @@ spec:
value: {{ required "A secret key needs to be generated using 'openssl rand -hex 64' and assigned to secretkey." .Values.secretkey }}
- name: TRUST_PROXY
value: "0"
{{ range $k, $v := .Values.env }}
- name: {{ $k | quote }}
value: {{ $v | quote }}
{{- end }}
{{- with .Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}