mirror of
https://github.com/truenas/charts.git
synced 2026-04-28 04:23:04 +08:00
* homarr - adapt to upstream changes * remove password * render * add acl * bump version * update label * update readme
15 lines
434 B
Smarty
15 lines
434 B
Smarty
{{- define "homarr.configuration" -}}
|
|
{{- $fullname := (include "ix.v1.common.lib.chart.names.fullname" $) -}}
|
|
|
|
{{- $secretKey := randAlphaNum 32 -}}
|
|
{{- with (lookup "v1" "Secret" .Release.Namespace (printf "%s-homarr-creds" $fullname)) -}}
|
|
{{- $secretKey = ((index .data "NEXTAUTH_SECRET") | b64dec) -}}
|
|
{{- end }}
|
|
|
|
secret:
|
|
homarr-creds:
|
|
enabled: true
|
|
data:
|
|
NEXTAUTH_SECRET: {{ $secretKey }}
|
|
{{- end -}}
|