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
|
|
|
|
redis:
|
|
|
|
host: "{{ .Release.Name }}-redis-master"
|
|
|
|
cache_db: 0
|
|
|
|
message_queue_db: 1
|
2019-02-08 13:57:16 +00:00
|
|
|
error_report_enabled: {{ .Values.config.error_reporting }}
|
2019-10-08 09:44:25 +01:00
|
|
|
domain: ".{{ .Values.ingress.hosts[0] }}"
|