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 }}
|
2022-01-21 11:16:51 +01:00
|
|
|
HYDRA_CLIENT_ID: {{ .Values.backend.oidc.clientId }}
|
|
|
|
HYDRA_AUTHORIZATION_BASE_URL: {{ .Values.backend.oidc.authorizationBaseUrl }}
|
|
|
|
TOKEN_URL: {{ .Values.backend.oidc.tokenUrl }}
|
2022-03-31 10:18:12 +02:00
|
|
|
KRATOS_PUBLIC_URL: {{ .Values.backend.kratos.publicUrl }}
|
|
|
|
KRATOS_ADMIN_URL: {{ .Values.backend.kratos.adminUrl }}
|
2022-04-04 14:32:58 +02:00
|
|
|
HYDRA_PUBLIC_URL: {{ .Values.backend.oidc.baseUrl }}
|
2022-06-10 09:46:38 +02:00
|
|
|
# React can only read this env variable if it's prepended with REACT_APP
|
|
|
|
REACT_APP_HYDRA_PUBLIC_URL: {{ .Values.backend.oidc.baseUrl }}
|
2022-03-31 10:18:12 +02:00
|
|
|
HYDRA_ADMIN_URL: {{ .Values.backend.hydra.adminUrl }}
|
2022-04-04 14:32:58 +02:00
|
|
|
LOGIN_PANEL_URL: {{ .Values.backend.loginPanelUrl }}
|
2022-03-31 10:18:12 +02:00
|
|
|
DATABASE_URL: {{ .Values.backend.databaseUrl }}
|
2021-10-05 16:39:47 +02:00
|
|
|
# {{- if .Values.backend.smtp.enabled }}
|
2021-11-22 15:49:04 +01:00
|
|
|
# DASHBOARD_BACKEND_SMTP_HOST: {{ .Values.backend.smtp.host | quote }}
|
|
|
|
# DASHBOARD_BACKEND_SMTP_PORT: {{ .Values.backend.smtp.port | quote }}
|
2021-10-05 16:39:47 +02:00
|
|
|
# {{- if .Values.backend.smtp.user }}
|
2021-11-22 15:49:04 +01:00
|
|
|
# DASHBOARD_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 }}
|
2021-11-22 15:49:04 +01:00
|
|
|
# DASHBOARD_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 }}
|
2021-11-22 15:49:04 +01:00
|
|
|
# DASHBOARD_BACKEND_SMTP_AUTH: {{ .Values.backend.smtp.auth | quote }}
|
2021-09-30 15:33:22 +02:00
|
|
|
# {{- end }}
|
|
|
|
# {{- end }}
|