mirror of
https://github.com/outbackdingo/Biohazard.git
synced 2026-01-27 18:18:26 +00:00
fix(crunchy): actually add nfs
This commit is contained in:
@@ -3,6 +3,7 @@ kind: Kustomization
|
||||
resources:
|
||||
- secret-superuser.yaml
|
||||
- s3.yaml
|
||||
- nfs.yaml
|
||||
- netpol.yaml
|
||||
- crunchy.yaml
|
||||
# - cluster.yaml
|
||||
|
||||
15
kube/deploy/core/db/pg/clusters/template/nfs.yaml
Normal file
15
kube/deploy/core/db/pg/clusters/template/nfs.yaml
Normal file
@@ -0,0 +1,15 @@
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: PersistentVolume
|
||||
metadata:
|
||||
name: "pg-${PG_APP_NAME}-wal-nfs"
|
||||
spec:
|
||||
storageClassName: "pg-${PG_APP_NAME}-wal-nfs"
|
||||
capacity:
|
||||
storage: 1Mi
|
||||
accessModes: [ReadWriteMany]
|
||||
persistentVolumeReclaimPolicy: Retain
|
||||
nfs:
|
||||
server: "${IP_TRUENAS}"
|
||||
path: "${PATH_NAS_BACKUPS_PGBACKREST}/${PG_APP_NAME}"
|
||||
mountOptions: ["nfsvers=4.0", "tcp", "hard", "noatime", "nodiratime", "nocto"]
|
||||
Reference in New Issue
Block a user