mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
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:
committed by
Kubernetes Prow Robot
parent
89e3359ad5
commit
41a5a9d9b3
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user