Skip to content

Commit

Permalink
Feat auth: allow additional secrets as env variables
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikey032 committed May 6, 2024
1 parent 7963191 commit 47ec361
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions charts/supabase/templates/auth/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,10 @@ spec:
name: {{ include "supabase.secret.smtp" . }}
key: password
{{- end }}
{{- with .Values.auth.envFrom }}
envFrom:
{{- toYaml . | nindent 12 }}
{{- end }}
{{- with .Values.auth.livenessProbe }}
livenessProbe:
{{- toYaml . | nindent 12 }}
Expand Down
3 changes: 3 additions & 0 deletions charts/supabase/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,9 @@ auth:
GOTRUE_MAILER_URLPATHS_CONFIRMATION: "/auth/v1/verify"
GOTRUE_MAILER_URLPATHS_RECOVERY: "/auth/v1/verify"
GOTRUE_MAILER_URLPATHS_EMAIL_CHANGE: "/auth/v1/verify"
envFrom: []
# - secretRef:
# name: env-secret
# volumeMounts:
# - name: volume_name
# mountPath: /path/to/my/secret
Expand Down

0 comments on commit 47ec361

Please sign in to comment.