18278: Postgresql: fix mount point for persistent volume, bump Postgres to
[arvados-k8s.git] / 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