This commit is contained in:
parent
2af2b8473a
commit
e303a7403e
@ -36,14 +36,15 @@ spec:
|
||||
volumeMounts:
|
||||
- mountPath: /var/lib/postgresql/data
|
||||
name: postgredb
|
||||
volumes:
|
||||
- name: postgredb
|
||||
persistentVolumeClaim:
|
||||
claimName: postgres-pv-claim
|
||||
volumes:
|
||||
- name: postgredb
|
||||
persistentVolumeClaim:
|
||||
claimName: postgres-pv-claim
|
||||
---
|
||||
kind: PersistentVolume
|
||||
apiVersion: v1
|
||||
metadata:
|
||||
namespace: pg
|
||||
name: postgres-pv-volume
|
||||
labels:
|
||||
type: local
|
||||
@ -60,6 +61,7 @@ spec:
|
||||
kind: PersistentVolumeClaim
|
||||
apiVersion: v1
|
||||
metadata:
|
||||
namespace: pg
|
||||
name: postgres-pv-claim
|
||||
labels:
|
||||
app: postgres
|
||||
|
Loading…
Reference in New Issue
Block a user