From 61194296afa8dac0047071bfccedde309ecf7f03 Mon Sep 17 00:00:00 2001 From: Effy Elden Date: Fri, 9 Dec 2022 17:12:31 +1100 Subject: [PATCH] allow custom S3_PERMISSION env --- templates/configmap-env.yaml | 3 +++ values.yaml | 1 + 2 files changed, 4 insertions(+) diff --git a/templates/configmap-env.yaml b/templates/configmap-env.yaml index 2651403..804d453 100644 --- a/templates/configmap-env.yaml +++ b/templates/configmap-env.yaml @@ -50,6 +50,9 @@ data: S3_ENDPOINT: {{ .Values.mastodon.s3.endpoint }} S3_HOSTNAME: {{ .Values.mastodon.s3.hostname }} S3_PROTOCOL: "https" + {{- if .Values.mastodon.s3.permission }} + S3_PERMISSION: {{ .Values.mastodon.s3.permission }} + {{- end }} {{- with .Values.mastodon.s3.region }} S3_REGION: {{ . }} {{- end }} diff --git a/values.yaml b/values.yaml index 9e7c283..a1785fa 100644 --- a/values.yaml +++ b/values.yaml @@ -65,6 +65,7 @@ mastodon: endpoint: "" hostname: "" region: "" + permission: "" # -- If you have a caching proxy, enter its base URL here. alias_host: "" # these must be set manually; autogenerated keys are rotated on each upgrade