[stable/postgresql] add postgresqlExtendedConf for stateful slave (#11403)

Signed-off-by: LittleWhiteYA <f46284628@gmail.com>
This commit is contained in:
Johnny You
2019-02-19 04:51:42 -08:00
committed by Kubernetes Prow Robot
parent 23c3e66dc2
commit dd1d1031ba
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
name: postgresql
version: 3.11.4
version: 3.11.5
appVersion: 10.7.0
description: Chart for PostgreSQL, an object-relational database management system (ORDBMS) with an emphasis on extensibility and on standards-compliance.
keywords:
@@ -166,7 +166,7 @@ spec:
- name: data
mountPath: {{ .Values.persistence.mountPath }}
{{ end }}
{{- if or (.Files.Glob "files/conf.d/*.conf") .Values.extendedConfConfigMap }}
{{- if or (.Files.Glob "files/conf.d/*.conf") .Values.postgresqlExtendedConf .Values.extendedConfConfigMap }}
- name: postgresql-extended-config
mountPath: /bitnami/postgresql/conf/conf.d/
{{- end }}
@@ -185,7 +185,7 @@ spec:
configMap:
name: {{ template "postgresql.configurationCM" . }}
{{- end }}
{{- if or (.Files.Glob "files/conf.d/*.conf") .Values.extendedConfConfigMap }}
{{- if or (.Files.Glob "files/conf.d/*.conf") .Values.postgresqlExtendedConf .Values.extendedConfConfigMap }}
- name: postgresql-extended-config
configMap:
name: {{ template "postgresql.extendedConfigurationCM" . }}