This repository has been archived on 2024-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
2019-02-08 13:57:16 +00:00
|
|
|
apiVersion: v1
|
|
|
|
kind: ConfigMap
|
|
|
|
metadata:
|
|
|
|
name: {{ include "passbook.fullname" . }}-config
|
|
|
|
data:
|
|
|
|
config.yml: |
|
2019-10-01 08:48:55 +00:00
|
|
|
postgresql:
|
|
|
|
host: "{{ .Release.Name }}-postgresql"
|
|
|
|
name: "{{ .Values.postgresql.postgresqlDatabase }}"
|
|
|
|
user: postgres
|
2020-05-16 12:17:43 +00: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 08:48:55 +00: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 10:16:56 +00:00
|
|
|
log_level: "{{ .Values.config.log_level }}"
|