2021-09-30 14:37:30 +02:00
|
|
|
apiVersion: v1
|
|
|
|
kind: ConfigMap
|
|
|
|
metadata:
|
|
|
|
name: {{ template "common.names.fullname" . }}
|
|
|
|
labels: {{- include "common.labels.standard" . | nindent 4 }}
|
|
|
|
{{- if .Values.commonLabels }}
|
|
|
|
{{- include "common.tplvalues.render" ( dict "value" .Values.commonLabels "context" $ ) | nindent 4 }}
|
|
|
|
{{- end }}
|
|
|
|
{{- if .Values.commonAnnotations }}
|
|
|
|
annotations: {{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }}
|
|
|
|
{{- end }}
|
|
|
|
data:
|
2021-10-05 16:39:47 +02:00
|
|
|
SECRET_KEY: {{ .Values.backend.secretKey }}
|
|
|
|
FLASK_APP: app.py
|
|
|
|
FLASK_ENV: {{ .Values.backend.flaskEnv }}
|
|
|
|
# ADMIN_FRONTEND_HOST: "{{ include "frontend.host" . }}"
|
|
|
|
# ADMIN_BACKEND_HOST: "{{ include "backend.host" . }}"
|
2021-09-30 15:33:22 +02:00
|
|
|
# Probably needed in the future:
|
2021-10-05 16:39:47 +02:00
|
|
|
# ADMIN_BACKEND_USERNAME: {{ .Values.backend.username | quote }}
|
|
|
|
# ADMIN_BACKEND_EMAIL: {{ .Values.backend.email | quote }}
|
|
|
|
# {{- if .Values.backend.smtp.enabled }}
|
|
|
|
# ADMIN_BACKEND_SMTP_HOST: {{ .Values.backend.smtp.host | quote }}
|
|
|
|
# ADMIN_BACKEND_SMTP_PORT: {{ .Values.backend.smtp.port | quote }}
|
|
|
|
# {{- if .Values.backend.smtp.user }}
|
|
|
|
# ADMIN_BACKEND_SMTP_USER: {{ .Values.backend.smtp.user | quote }}
|
2021-09-30 15:33:22 +02:00
|
|
|
# {{- end }}
|
2021-10-05 16:39:47 +02:00
|
|
|
# {{- if .Values.backend.smtp.protocol }}
|
|
|
|
# ADMIN_BACKEND_SMTP_PROTOCOL: {{ .Values.backend.smtp.protocol | quote }}
|
2021-09-30 15:33:22 +02:00
|
|
|
# {{- end }}
|
2021-10-05 16:39:47 +02:00
|
|
|
# {{- if .Values.backend.smtp.auth }}
|
|
|
|
# ADMIN_BACKEND_SMTP_AUTH: {{ .Values.backend.smtp.auth | quote }}
|
2021-09-30 15:33:22 +02:00
|
|
|
# {{- end }}
|
|
|
|
# {{- end }}
|