22 lines
1.0 KiB
YAML
22 lines
1.0 KiB
YAML
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: {{ include "passbook.fullname" . }}-config
|
|
data:
|
|
POSTGRESQL__HOST: "{{ .Release.Name }}-postgresql"
|
|
POSTGRESQL__NAME: "{{ .Values.postgresql.postgresqlDatabase }}"
|
|
POSTGRESQL__USER: "{{ .Values.postgresql.postgresqlUsername }}"
|
|
{{- if .Values.backup }}
|
|
POSTGRESQL__S3_BACKUP__ACCESS_KEY: "{{ .Values.backup.accessKey }}"
|
|
POSTGRESQL__S3_BACKUP__SECRET_KEY: "{{ .Values.backup.secretKey }}"
|
|
POSTGRESQL__S3_BACKUP__BUCKET: "{{ .Values.backup.bucket }}"
|
|
POSTGRESQL__S3_BACKUP__REGION: "{{ .Values.backup.region }}"
|
|
POSTGRESQL__S3_BACKUP__HOST: "{{ .Values.backup.host }}"
|
|
{{- end}}
|
|
REDIS__HOST: "{{ .Release.Name }}-redis-master"
|
|
ERROR_REPORTING__ENABLED: "{{ .Values.config.errorReporting.enabled }}"
|
|
ERROR_REPORTING__ENVIRONMENT: "{{ .Values.config.errorReporting.environment }}"
|
|
ERROR_REPORTING__SEND_PII: "{{ .Values.config.errorReporting.sendPii }}"
|
|
LOG_LEVEL: "{{ .Values.config.logLevel }}"
|
|
OUTPOSTS__DOCKER_IMAGE_BASE: "{{ .Values.image.name_outposts }}"
|