postgres-config.yaml 448 Bytes
Newer Older
Evili del Rio's avatar
Evili del Rio committed
1 2 3
apiVersion: v1
kind: ConfigMap
metadata:
Evili del Rio's avatar
Evili del Rio committed
4
  name: {{ .Release.Name }}-postgres-config
Evili del Rio's avatar
Evili del Rio committed
5
data:
Evili del Rio's avatar
Evili del Rio committed
6 7 8 9 10
  POSTGRES_DATABASE: {{ .Values.postgresql.postgresqlDatabase | default .Release.Name }}
  POSTGRES_DB: {{ .Values.postgresql.postgresqlDatabase | default .Release.Name }}
  POSTGRES_USER: {{ .Values.postgresqlUsername | default "django" }}
  {{- if .Values.postgresql.postgresqlHost }}
  POSTGRES_HOST: {{ .Values.postgresql.postgresqlHost }}
11
  {{- end }}