2019-02-08 13:57:16 +00:00
|
|
|
apiVersion: v1
|
|
|
|
kind: ConfigMap
|
|
|
|
metadata:
|
|
|
|
name: {{ include "passbook.fullname" . }}-config
|
|
|
|
data:
|
|
|
|
config.yml: |
|
2019-10-01 09:48:55 +01:00
|
|
|
postgresql:
|
|
|
|
host: "{{ .Release.Name }}-postgresql"
|
|
|
|
name: "{{ .Values.postgresql.postgresqlDatabase }}"
|
|
|
|
user: postgres
|
2020-05-16 13:17:43 +01:00
|
|
|
{{- if .Values.backup }}
|
|
|
|
backup:
|
|
|
|
access_key: "{{ .Values.backup.access_key }}"
|
|
|
|
secret_key: "{{ .Values.backup.secret_key }}"
|
|
|
|
bucket: "{{ .Values.backup.bucket }}"
|
|
|
|
host: "{{ .Values.backup.host }}"
|
|
|
|
{{- end}}
|
2019-10-01 09:48:55 +01:00
|
|
|
redis:
|
|
|
|
host: "{{ .Release.Name }}-redis-master"
|
|
|
|
cache_db: 0
|
|
|
|
message_queue_db: 1
|
2020-08-20 19:39:21 +01:00
|
|
|
error_reporting:
|
|
|
|
enabled: {{ .Values.config.error_reporting.enabled }}
|
|
|
|
environment: {{ .Values.config.error_reporting.environment }}
|
2020-08-20 21:19:49 +01:00
|
|
|
send_pii: {{ .Values.config.error_reporting.send_pii }}
|
2020-05-20 11:16:56 +01:00
|
|
|
log_level: "{{ .Values.config.log_level }}"
|