From 1d0879b3c9bb3ac3fb9e8e385819cbe47a88e527 Mon Sep 17 00:00:00 2001 From: Tim Campbell Date: Tue, 12 Dec 2023 10:17:17 +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 fbb8788..74ad09e 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 a4660e2..30e3ea8 100644 --- a/values.yaml +++ b/values.yaml @@ -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: