diff --git a/stable/postgresql/Chart.yaml b/stable/postgresql/Chart.yaml index 17fd7bf8cf..2622e92a6c 100644 --- a/stable/postgresql/Chart.yaml +++ b/stable/postgresql/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v1 name: postgresql -version: 6.5.4 +version: 6.5.5 appVersion: 11.5.0 description: Chart for PostgreSQL, an object-relational database management system (ORDBMS) with an emphasis on extensibility and on standards-compliance. keywords: diff --git a/stable/postgresql/templates/statefulset-slaves.yaml b/stable/postgresql/templates/statefulset-slaves.yaml index 9a985623e9..de796ccaf5 100644 --- a/stable/postgresql/templates/statefulset-slaves.yaml +++ b/stable/postgresql/templates/statefulset-slaves.yaml @@ -75,7 +75,7 @@ spec: resources: {{- toYaml .Values.resources | nindent 12 }} {{- end }} command: - - sh + - /bin/sh - -c - | mkdir -p {{ .Values.persistence.mountPath }}/data @@ -148,7 +148,7 @@ spec: livenessProbe: exec: command: - - sh + - /bin/sh - -c {{- if (include "postgresql.database" .) }} - exec pg_isready -U {{ include "postgresql.username" . | quote }} -d {{ (include "postgresql.database" .) | quote }} -h 127.0.0.1 -p {{ template "postgresql.port" . }} @@ -165,7 +165,7 @@ spec: readinessProbe: exec: command: - - sh + - /bin/sh - -c - -e {{- include "postgresql.readinessProbeCommand" . | nindent 16 }} diff --git a/stable/postgresql/templates/statefulset.yaml b/stable/postgresql/templates/statefulset.yaml index bbf9190e6d..fd30356cfb 100644 --- a/stable/postgresql/templates/statefulset.yaml +++ b/stable/postgresql/templates/statefulset.yaml @@ -79,7 +79,7 @@ spec: resources: {{- toYaml .Values.resources | nindent 12 }} {{- end }} command: - - sh + - /bin/sh - -c - | mkdir -p {{ .Values.persistence.mountPath }}/data @@ -173,7 +173,7 @@ spec: livenessProbe: exec: command: - - sh + - /bin/sh - -c {{- if (include "postgresql.database" .) }} - exec pg_isready -U {{ include "postgresql.username" . | quote }} -d {{ (include "postgresql.database" .) | quote }} -h 127.0.0.1 -p {{ template "postgresql.port" . }} @@ -190,7 +190,7 @@ spec: readinessProbe: exec: command: - - sh + - /bin/sh - -c - -e {{- include "postgresql.readinessProbeCommand" . | nindent 16 }}