18278: Postgresql: fix mount point for persistent volume, bump Postgres to 18278-GKE-fixes
authorWard Vandewege <ward@curii.com>
Tue, 19 Oct 2021 16:41:18 +0000 (12:41 -0400)
committerWard Vandewege <ward@curii.com>
Tue, 19 Oct 2021 19:56:26 +0000 (15:56 -0400)
version 10.

Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <ward@curii.com>

charts/arvados/templates/postgres-deployment.yaml

index d820e8eeff69e94ab909e21d91a9099c9d8e4139..2d7489f5bc439f201966e0f592a41f87634d179f 100644 (file)
@@ -28,7 +28,7 @@ spec:
       terminationGracePeriodSeconds: 1
       containers:
         - name: {{ .Chart.Name }}
-          image: "postgres:9.5"
+          image: "postgres:10"
           imagePullPolicy: {{ .Values.image.pullPolicy }}
           env:
             - name: POSTGRES_HOST_AUTH_METHOD
@@ -39,7 +39,7 @@ spec:
               subPath: create_dbs.sh
             {{- if .Values.postgres.persistence.enabled }}
             - name: postgres-storage
-              mountPath: /var/lib/postgresql/data
+              mountPath: /var/lib/postgresql
             {{- end }}
       volumes:
         - name: postgres-configmap