Skip to content

Commit

Permalink
Add extra env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
timetinytim committed Dec 7, 2023
1 parent 8356824 commit aee9caf
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 @@ -211,6 +211,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 aee9caf

Please sign in to comment.