[stable/postgresql] Avoid init scripts to execute in every restart (#15796)

* [stable/postgresql] Avoid init scripts to execute in every restart after changing volume mount point

Signed-off-by: tompizmor <tompizmor@gmail.com>

* [stable/postgresql] Update components versions

Signed-off-by: Bitnami Containers <containers@bitnami.com>

* Bump chart version

Signed-off-by: tompizmor <tompizmor@gmail.com>
This commit is contained in:
Tomas Pizarro
2019-07-24 04:02:15 -07:00
committed by Kubernetes Prow Robot
parent 7a5309c681
commit 43dbe0d27b
5 changed files with 7 additions and 3 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
apiVersion: v1
name: postgresql
version: 6.1.0
version: 6.2.0
appVersion: 11.4.0
description: Chart for PostgreSQL, an object-relational database management system (ORDBMS) with an emphasis on extensibility and on standards-compliance.
keywords:
@@ -94,6 +94,8 @@ spec:
env:
- name: BITNAMI_DEBUG
value: {{ ternary "true" "false" .Values.image.debug | quote }}
- name: POSTGRESQL_VOLUME_DIR
value: "{{ .Values.persistence.mountPath }}"
- name: POSTGRESQL_PORT_NUMBER
value: "{{ template "postgresql.port" . }}"
{{- if .Values.persistence.mountPath }}
@@ -100,6 +100,8 @@ spec:
value: {{ ternary "true" "false" .Values.image.debug | quote }}
- name: POSTGRESQL_PORT_NUMBER
value: "{{ template "postgresql.port" . }}"
- name: POSTGRESQL_VOLUME_DIR
value: "{{ .Values.persistence.mountPath }}"
{{- if .Values.postgresqlInitdbArgs }}
- name: POSTGRES_INITDB_ARGS
value: {{ .Values.postgresqlInitdbArgs | quote }}
+1 -1
View File
@@ -14,7 +14,7 @@ global:
image:
registry: docker.io
repository: bitnami/postgresql
tag: 11.4.0-debian-9-r12
tag: 11.4.0-debian-9-r34
## Specify a imagePullPolicy
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
+1 -1
View File
@@ -14,7 +14,7 @@ global:
image:
registry: docker.io
repository: bitnami/postgresql
tag: 11.4.0-debian-9-r12
tag: 11.4.0-debian-9-r34
## Specify a imagePullPolicy
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images