2019-02-08 13:57:16 +00:00
|
|
|
apiVersion: v1
|
|
|
|
kind: ConfigMap
|
|
|
|
metadata:
|
|
|
|
name: {{ include "passbook.fullname" . }}-config
|
|
|
|
data:
|
2020-08-25 16:43:37 +01:00
|
|
|
POSTGRESQL__HOST: "{{ .Release.Name }}-postgresql"
|
|
|
|
POSTGRESQL__NAME: "{{ .Values.postgresql.postgresqlDatabase }}"
|
|
|
|
POSTGRESQL__USER: "{{ .Values.postgresql.postgresqlUsername }}"
|
|
|
|
{{- if .Values.backup }}
|
|
|
|
POSTGRESQL__BACKUP__ACCESS_KEY: "{{ .Values.backup.access_key }}"
|
|
|
|
POSTGRESQL__BACKUP__SECRET_KEY: "{{ .Values.backup.secret_key }}"
|
|
|
|
POSTGRESQL__BACKUP__BUCKET: "{{ .Values.backup.bucket }}"
|
|
|
|
POSTGRESQL__BACKUP__HOST: "{{ .Values.backup.host }}"
|
|
|
|
{{- end}}
|
|
|
|
REDIS__HOST: "{{ .Release.Name }}-redis-master"
|
|
|
|
ERROR_REPORTING__ENABLED: "{{ .Values.config.error_reporting.enabled }}"
|
|
|
|
ERROR_REPORTING__ENVIRONMENT: "{{ .Values.config.error_reporting.environment }}"
|
|
|
|
ERROR_REPORTING__SEND_PII: "{{ .Values.config.error_reporting.send_pii }}"
|
|
|
|
LOG_LEVEL: "{{ .Values.config.log_level }}"
|