mirror of
https://github.com/helm/charts.git
synced 2026-08-21 05:17:23 +00:00
[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:
committed by
Kubernetes Prow Robot
parent
81ec17b007
commit
cdc331a505
@@ -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:
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user