mirror of
https://github.com/bitnami/charts.git
synced 2026-03-04 06:47:57 +08:00
[bitnami/postgresql] Fix slave' statefulset when persistence is disabled (#3527)
Signed-off-by: juan131 <juanariza@vmware.com>
This commit is contained in:
committed by
GitHub
parent
fe85c43069
commit
3910de7325
@@ -1,6 +1,6 @@
|
||||
apiVersion: v1
|
||||
name: postgresql
|
||||
version: 9.3.2
|
||||
version: 9.3.3
|
||||
appVersion: 11.9.0
|
||||
description: Chart for PostgreSQL, an object-relational database management system (ORDBMS) with an emphasis on extensibility and on standards-compliance.
|
||||
keywords:
|
||||
|
||||
@@ -305,7 +305,7 @@ spec:
|
||||
medium: Memory
|
||||
sizeLimit: 1Gi
|
||||
{{- end }}
|
||||
{{- if not .Values.persistence.enabled }}
|
||||
{{- if or (not .Values.persistence.enabled) (not .Values.slave.persistence.enabled) }}
|
||||
- name: data
|
||||
emptyDir: {}
|
||||
{{- end }}
|
||||
|
||||
Reference in New Issue
Block a user