[stable/postgresql] Ensure intContainer creates the data directory. (#14401)

* [stable/postgresql] Ensure intContainer creates the data directory.

Signed-off-by: juan131 <juan@bitnami.com>

* Update PostgreSQL image tag to '11.3.0-debian-9-r26'

Signed-off-by: juan131 <juan@bitnami.com>

* Update PostgreSQL image tag to '11.3.0-debian-9-r26' on 'values-production.yaml'

Signed-off-by: juan131 <juan@bitnami.com>

* Update PostgreSQL image tag to '11.3.0-debian-9-r27'

Signed-off-by: juan131 <juan@bitnami.com>
This commit is contained in:
Juan Ariza Toledano
2019-06-03 05:54:18 -07:00
committed by Kubernetes Prow Robot
parent 81ec17b007
commit cdc331a505
5 changed files with 5 additions and 9 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
apiVersion: v1
name: postgresql
version: 5.2.1
version: 5.2.2
appVersion: 11.3.0
description: Chart for PostgreSQL, an object-relational database management system (ORDBMS) with an emphasis on extensibility and on standards-compliance.
keywords:
@@ -70,11 +70,9 @@ spec:
- sh
- -c
- |
mkdir -m 700 -p {{ .Values.persistence.mountPath }}/data
find {{ .Values.persistence.mountPath }} -mindepth 1 -maxdepth 1 -not -name ".snapshot" | \
xargs chown -R {{ .Values.securityContext.runAsUser }}:{{ .Values.securityContext.fsGroup }}
if [ -d {{ .Values.persistence.mountPath }}/data ]; then
chmod 0700 {{ .Values.persistence.mountPath }}/data;
fi
securityContext:
runAsUser: {{ .Values.volumePermissions.securityContext.runAsUser }}
volumeMounts:
+1 -3
View File
@@ -74,11 +74,9 @@ spec:
- sh
- -c
- |
mkdir -m 700 -p {{ .Values.persistence.mountPath }}/data
find {{ .Values.persistence.mountPath }} -mindepth 1 -maxdepth 1 -not -name ".snapshot" | \
xargs chown -R {{ .Values.securityContext.runAsUser }}:{{ .Values.securityContext.fsGroup }}
if [ -d {{ .Values.persistence.mountPath }}/data ]; then
chmod 0700 {{ .Values.persistence.mountPath }}/data;
fi
securityContext:
runAsUser: {{ .Values.volumePermissions.securityContext.runAsUser }}
volumeMounts:
+1 -1
View File
@@ -14,7 +14,7 @@ global:
image:
registry: docker.io
repository: bitnami/postgresql
tag: 11.3.0-debian-9-r17
tag: 11.3.0-debian-9-r27
## 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.3.0-debian-9-r17
tag: 11.3.0-debian-9-r27
## 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