Skip to content

Commit

Permalink
Add extra env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
timetinytim authored and renchap committed Dec 12, 2023
1 parent 4b6fd9f commit 1d0879b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions templates/configmap-env.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -328,3 +328,6 @@ data:
{{- with .Values.mastodon.metrics.statsd.address }}
STATSD_ADDR: {{ . }}
{{- end }}
{{- range $k, $v := .Values.mastodon.extraEnvVars }}
{{ $k }}: {{ quote $v }}
{{- end }}
3 changes: 3 additions & 0 deletions values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,9 @@ mastodon:
# Sets the PREPARED_STATEMENTS environment variable: https://docs.joinmastodon.org/admin/config/#prepared_statements
preparedStatements: true

# Additional env vars defined in all pods
extraEnvVars: {}

ingress:
enabled: true
annotations:
Expand Down

0 comments on commit 1d0879b

Please sign in to comment.