Update postgres data mount point to persist.

Signed-off-by: Adam Vollrath <adam.d.vollrath@gmail.com>
This commit is contained in:
Adam Vollrath
2023-12-12 14:30:19 -06:00
parent 9a74d65751
commit cc730fc545
2 changed files with 5 additions and 2 deletions
+4 -1
View File
@@ -19,11 +19,14 @@ spec:
imagePullPolicy: 'IfNotPresent'
ports:
- containerPort: 5432
env:
- name: PGDATA
value: "/data/pgdata"
envFrom:
- secretRef:
name: postgres-secrets
volumeMounts:
- mountPath: /var/lib/postgresql
- mountPath: /data
name: postgresdb
volumes:
- name: postgresdb