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 12, 2023
1 parent 4b6fd9f commit 60b7eb3
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 60b7eb3

Please sign in to comment.