Files
catalog/dev/cherry/3.0.13/templates/_config.tpl
TrueCharts-Bot 2812eacda8 Commit new Chart releases for TrueCharts
Signed-off-by: TrueCharts-Bot <bot@truecharts.org>
2024-01-02 16:21:53 +00:00

16 lines
577 B
Smarty

{{/* Define the configmap */}}
{{- define "cherry.configmap" -}}
{{- $configName := printf "%s-cherry-configmap" (include "tc.v1.common.names.fullname" .) }}
enabled: true
data:
DATABASE_PATH: /data/cherry.sqlite
ENABLE_PUBLIC_REGISTRATION: {{ ternary "1" "0" .Values.cherry.public_registration | quote }}
USE_INSECURE_COOKIE: {{ ternary "1" "0" .Values.cherry.insecure_cookie | quote }}
PAGE_BOOKMARK_LIMIT: {{ .Values.cherry.page_bookmark_limit | quote }}
{{- with .Values.cherry.google_oauth_uri }}
GOOGLE_OAUTH_REDIRECT_URI: {{ . }}
{{- end }}
{{- end -}}