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: # ADMIN_FRONTEND_HOST: "{{ include "adminFrontend.host" . }}" # ADMIN_BACKEND_HOST: "{{ include "adminBackend.host" . }}" # Probably needed in the future: # ADMIN_BACKEND_USERNAME: {{ .Values.adminBackend.username | quote }} # ADMIN_BACKEND_EMAIL: {{ .Values.adminBackend.email | quote }} # {{- if .Values.adminBackend.smtp.enabled }} # ADMIN_BACKEND_SMTP_HOST: {{ .Values.adminBackend.smtp.host | quote }} # ADMIN_BACKEND_SMTP_PORT: {{ .Values.adminBackend.smtp.port | quote }} # {{- if .Values.adminBackend.smtp.user }} # ADMIN_BACKEND_SMTP_USER: {{ .Values.adminBackend.smtp.user | quote }} # {{- end }} # {{- if .Values.adminBackend.smtp.protocol }} # ADMIN_BACKEND_SMTP_PROTOCOL: {{ .Values.adminBackend.smtp.protocol | quote }} # {{- end }} # {{- if .Values.adminBackend.smtp.auth }} # ADMIN_BACKEND_SMTP_AUTH: {{ .Values.adminBackend.smtp.auth | quote }} # {{- end }} # {{- end }}