From aee9caf986d552b5831e763911facdd21c2a34b5 Mon Sep 17 00:00:00 2001 From: Tim Campbell Date: Thu, 7 Dec 2023 16:03:27 +0100 Subject: [PATCH] Add extra env vars --- templates/configmap-env.yaml | 3 +++ values.yaml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/templates/configmap-env.yaml b/templates/configmap-env.yaml index fbb87884..74ad09e3 100644 --- a/templates/configmap-env.yaml +++ b/templates/configmap-env.yaml @@ -328,3 +328,6 @@ data: {{- with .Values.mastodon.metrics.statsd.address }} STATSD_ADDR: {{ . }} {{- end }} + {{- range $k, $v := .Values.mastodon.extraEnvVars }} + {{ $k }}: {{ quote $v }} + {{- end }} diff --git a/values.yaml b/values.yaml index 489f11ba..f0e0ad90 100644 --- a/values.yaml +++ b/values.yaml @@ -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: