2022-12-24 09:50:20 +00:00
|
|
|
{{/* Define the secret */}}
|
|
|
|
{{- define "homebox.secret" -}}
|
|
|
|
|
2023-04-11 10:07:17 +00:00
|
|
|
enabled: true
|
|
|
|
data:
|
2022-12-24 09:50:20 +00:00
|
|
|
HBOX_MODE: production
|
|
|
|
HBOX_SWAGGER_SCHEMA: {{ .Values.service.main.ports.main.protocol | lower }}
|
|
|
|
HBOX_STORAGE_DATA: {{ .Values.persistence.data.mountPath }}
|
|
|
|
HBOX_WEB_PORT: {{ .Values.service.main.ports.main.port | quote }}
|
|
|
|
HBOX_SWAGGER_HOST: {{ .Values.service.main.ports.main.port | quote }}
|
|
|
|
{{/* User Defined */}}
|
2023-02-24 15:26:07 +00:00
|
|
|
HBOX_OPTIONS_ALLOW_REGISTRATION: {{ .Values.homebox.allow_registration | quote }}
|
2022-12-24 09:50:20 +00:00
|
|
|
HBOX_OPTIONS_AUTO_INCREMENT_ASSET_ID: {{ .Values.homebox.auto_increment_asset_id | quote }}
|
|
|
|
HBOX_WEB_MAX_UPLOAD_SIZE: {{ (.Values.homebox.max_upload_size | default 10) | quote }}
|
|
|
|
HBOX_LOG_LEVEL: {{ .Values.homebox.log_level | default "info" }}
|
|
|
|
HBOX_LOG_FORMAT: {{ .Values.homebox.log_format | default "text" }}
|
|
|
|
{{- if .Values.homebox.mailer_host }}
|
2023-07-22 08:10:38 +00:00
|
|
|
HBOX_MAILER_HOST: {{ .Values.homebox.mailer_host | quote }}
|
|
|
|
HBOX_MAILER_PORT: {{ .Values.homebox.mailer_port | quote }}
|
|
|
|
HBOX_MAILER_FROM: {{ .Values.homebox.mailer_from | quote }}
|
|
|
|
HBOX_MAILER_USERNAME: {{ .Values.homebox.mailer_username | quote }}
|
|
|
|
HBOX_MAILER_PASSWORD: {{ .Values.homebox.mailer_password | quote }}
|
2022-12-24 09:50:20 +00:00
|
|
|
{{- end }}
|
|
|
|
{{- end }}
|