Skip to content

Commit 23100b1

Browse files
author
popagruia
committed
bring files from main
Signed-off-by: popagruia <[email protected]>
1 parent dd6b601 commit 23100b1

File tree

2 files changed

+28
-2
lines changed

2 files changed

+28
-2
lines changed

deployment/k8s/postgres-pv.yaml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,15 @@
1-
1+
apiVersion: v1
2+
kind: PersistentVolume
3+
metadata:
4+
name: postgres-pv-volume
5+
labels:
6+
type: local
7+
app: postgres
8+
spec:
9+
storageClassName: manual
10+
capacity:
11+
storage: 5Gi
12+
accessModes:
13+
- ReadWriteMany
14+
hostPath:
15+
path: "/mnt/data"

deployment/k8s/postgres-pvc.yaml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,13 @@
1-
1+
apiVersion: v1
2+
kind: PersistentVolumeClaim
3+
metadata:
4+
name: postgres-pv-claim
5+
labels:
6+
app: postgres
7+
spec:
8+
storageClassName: manual
9+
accessModes:
10+
- ReadWriteMany
11+
resources:
12+
requests:
13+
storage: 5Gi

0 commit comments

Comments
 (0)