postgres: change mountpoint to ../data

As otherwise the VOLUME seems to override it
This commit is contained in:
Nico Schottelius 2021-06-08 21:58:27 +02:00
parent cba364d1fc
commit cf992f1d3b
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ spec:
- configMapRef: - configMapRef:
name: postgres-config name: postgres-config
volumeMounts: volumeMounts:
- mountPath: /var/lib/postgresql/ - mountPath: /var/lib/postgresql/data
name: postgresdb name: postgresdb
volumes: volumes:
- name: postgresdb - name: postgresdb