Only pass POSTGRESQL_DATABASE if it is set (#9786)

Signed-off-by: Gabriel Nicolas Avellaneda <avellaneda.gabriel@gmail.com>

Bump chart version

Signed-off-by: Gabriel Nicolas Avellaneda <avellaneda.gabriel@gmail.com>
This commit is contained in:
Gabriel Nicolas Avellaneda
2018-12-07 04:35:30 -08:00
committed by Kubernetes Prow Robot
parent 89e3359ad5
commit 41a5a9d9b3
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
name: postgresql
version: 2.7.9
version: 2.7.10
appVersion: 10.6.0
description: Chart for PostgreSQL, an object-relational database management system (ORDBMS) with an emphasis on extensibility and on standards-compliance.
keywords:
@@ -110,8 +110,10 @@ spec:
name: {{ template "postgresql.fullname" . }}
{{- end }}
key: postgresql-password
{{- if .Values.postgresqlDatabase }}
- name: POSTGRESQL_DATABASE
value: {{ .Values.postgresqlDatabase | quote }}
{{- end }}
- name: POD_IP
valueFrom: { fieldRef: { fieldPath: status.podIP } }
{{- if .Values.extraEnv }}