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
|
2019-11-20 12:12:37 +00:00
|
|
|
error_reporting: {{ .Values.config.error_reporting }}
|
2020-05-20 11:16:56 +01:00
|
|
|
log_level: "{{ .Values.config.log_level }}"
|
2020-07-07 16:53:35 +01:00
|
|
|
apm:
|
|
|
|
enabled: {{ .Values.config.apm.enabled }}
|
|
|
|
server_url: "{{ .Values.config.apm.server_url }}"
|
2020-08-01 21:50:13 +01:00
|
|
|
secret_token: "{{ .Values.config.apm.secret_token }}"
|
2020-07-07 18:59:32 +01:00
|
|
|
verify_server_cert: {{ .Values.config.apm.verify_server_cert }}
|