feat(lychee): Add db/redis, fix storage path, add app_key secret, add gui config options (#1928)
* feat(lychee): Add db/redis, fix storage path, add app_key secret, add gui config options * see output * without quote * remove `command` * Add TZ
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
{{/* Define the secrets */}}
|
||||
{{- define "lychee.secrets" -}}
|
||||
---
|
||||
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
type: Opaque
|
||||
metadata:
|
||||
name: lychee-secrets
|
||||
{{- $lycheeprevious := lookup "v1" "Secret" .Release.Namespace "lychee-secrets" }}
|
||||
{{- $app_key := "" }}
|
||||
data:
|
||||
{{- if $lycheeprevious}}
|
||||
APP_KEY: {{ index $lycheeprevious.data "APP_KEY" }}
|
||||
{{- else }}
|
||||
{{- $app_key := randAlphaNum 32 }}
|
||||
APP_KEY: {{ $app_key | b64enc }}
|
||||
{{- end }}
|
||||
|
||||
{{- end -}}
|
||||
Reference in New Issue
Block a user