32 lines
1.5 KiB
YAML
32 lines
1.5 KiB
YAML
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:
|
|
{{- $port := .Values.service.port | toString }}
|
|
REACT_APP_API_URL: {{ .Values.adminFrontend.reactAppApiUrl }}
|
|
EXTEND_ESLINT: {{ .Values.adminFrontend.extendEslint }}
|
|
ADMIN_FRONTEND_HOST: "{{ include "adminFrontend.host" . }}"
|
|
# Probably needed in the future:
|
|
# ADMIN_FRONTEND_USERNAME: {{ .Values.adminFrontend.username | quote }}
|
|
# ADMIN_FRONTEND_EMAIL: {{ .Values.adminFrontend.email | quote }}
|
|
# {{- if .Values.adminFrontend.smtp.enabled }}
|
|
# ADMIN_FRONTEND_SMTP_HOST: {{ .Values.adminFrontend.smtp.host | quote }}
|
|
# ADMIN_FRONTEND_SMTP_PORT: {{ .Values.adminFrontend.smtp.port | quote }}
|
|
# {{- if .Values.adminFrontend.smtp.user }}
|
|
# ADMIN_FRONTEND_SMTP_USER: {{ .Values.adminFrontend.smtp.user | quote }}
|
|
# {{- end }}
|
|
# {{- if .Values.adminFrontend.smtp.protocol }}
|
|
# ADMIN_FRONTEND_SMTP_PROTOCOL: {{ .Values.adminFrontend.smtp.protocol | quote }}
|
|
# {{- end }}
|
|
# {{- if .Values.adminFrontend.smtp.auth }}
|
|
# ADMIN_FRONTEND_SMTP_AUTH: {{ .Values.adminFrontend.smtp.auth | quote }}
|
|
# {{- end }}
|
|
# {{- end }}
|