Skip to content

Commit 17e14e8

Browse files
authored
Merge pull request #63 from Mikey032/feature/auth-allow-additional-secrets
Feat auth: allow additional secrets as env variables
2 parents 7963191 + 4ce8759 commit 17e14e8

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

charts/supabase/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ type: application
1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: 0.1.2
18+
version: 0.1.3
1919

2020
# This is the version number of the application being deployed. This version number should be
2121
# incremented each time you make changes to the application. Versions are not expected to

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)