Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions kubernetes/chart/zulip/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,17 @@ are defined in the `values.yaml` under `zulip.environment`. These environment
variables are forwarded to the Docker container, you can read more about
configuring Zulip through environment variables
[here](https://github.com/zulip/docker-zulip/#configuration).
Variables can be either a plain scalar value ie. string/int or a projected value
from a secret or configmap, eg:

```yaml
SETTING_EXTERNAL_HOST: zulip.example.com
SECRETS_email_password:
valueFrom:
secretKeyRef:
name: email
key: password
```

### Dependencies

Expand Down
4 changes: 4 additions & 0 deletions kubernetes/chart/zulip/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,10 @@ include all env variables for Zulip pods
value: "{{ .Values.zulip.password }}"
{{- range $key, $value := .Values.zulip.environment }}
- name: {{ $key }}
{{- if kindIs "map" $value }}
{{- toYaml $value | nindent 2 }}
{{- else }}
value: {{ $value | quote }}
{{- end }}
{{- end }}
{{- end }}