Skip to content

Commit 47ec361

Browse files
committed
Feat auth: allow additional secrets as env variables
1 parent 7963191 commit 47ec361

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

charts/supabase/templates/auth/deployment.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,10 @@ spec:
138138
name: {{ include "supabase.secret.smtp" . }}
139139
key: password
140140
{{- end }}
141+
{{- with .Values.auth.envFrom }}
142+
envFrom:
143+
{{- toYaml . | nindent 12 }}
144+
{{- end }}
141145
{{- with .Values.auth.livenessProbe }}
142146
livenessProbe:
143147
{{- toYaml . | nindent 12 }}

charts/supabase/values.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,9 @@ auth:
311311
GOTRUE_MAILER_URLPATHS_CONFIRMATION: "/auth/v1/verify"
312312
GOTRUE_MAILER_URLPATHS_RECOVERY: "/auth/v1/verify"
313313
GOTRUE_MAILER_URLPATHS_EMAIL_CHANGE: "/auth/v1/verify"
314+
envFrom: []
315+
# - secretRef:
316+
# name: env-secret
314317
# volumeMounts:
315318
# - name: volume_name
316319
# mountPath: /path/to/my/secret

0 commit comments

Comments
 (0)