You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 40bfd5e
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: helm/sim/templates/_helpers.tpl
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -289,7 +289,9 @@ Skip validation when using existing secrets or External Secrets Operator
289
289
{{- range$key:= list "BETTER_AUTH_SECRET""ENCRYPTION_KEY""INTERNAL_API_SECRET""CRON_SECRET""API_ENCRYPTION_KEY" }}
290
290
{{- include "sim.rejectPlaceholderSecret" (list (printf"app.env.%s"$key) (index$.Values.app.env$key)) }}
291
291
{{- end }}
292
+
{{- if.Values.realtime.enabled }}
292
293
{{- include "sim.rejectPlaceholderSecret" (list "realtime.env.BETTER_AUTH_SECRET".Values.realtime.env.BETTER_AUTH_SECRET) }}
294
+
{{- end }}
293
295
{{- /* CRON_SECRET is required when cronjobs are enabled — pods reference it via secretKeyRef and would fail to start if the key is missing from the Secret. */ -}}
{{- fail "app.env.CRON_SECRET is required when cronjobs.enabled=true (every cron pod authenticates with this token). Generate one with: openssl rand -hex 32, or set cronjobs.enabled=false." }}
0 commit comments