File tree Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -143,6 +143,17 @@ are defined in the `values.yaml` under `zulip.environment`. These environment
143143variables are forwarded to the Docker container, you can read more about
144144configuring Zulip through environment variables
145145[ here] ( https://github.com/zulip/docker-zulip/#configuration ) .
146+ Variables can be either a plain scalar value ie. string/int or a projected value
147+ from a secret or configmap, eg:
148+
149+ ``` yaml
150+ SETTING_EXTERNAL_HOST : zulip.example.com
151+ SECRETS_email_password :
152+ valueFrom :
153+ secretKeyRef :
154+ name : email
155+ key : password
156+ ` ` `
146157
147158### Dependencies
148159
Original file line number Diff line number Diff line change @@ -90,6 +90,10 @@ include all env variables for Zulip pods
9090 value: "{ { .Values.zulip.password } }"
9191{ {- range $key , $value := .Values.zulip.environment } }
9292- name: { { $key } }
93+ { {- if kindIs " map" $value } }
94+ { {- toYaml $value | nindent 2 } }
95+ { {- else } }
9396 value: { { $value | quote } }
97+ { {- end } }
9498{ {- end } }
9599{ {- end } }
You can’t perform that action at this time.
0 commit comments