fix(pg-dump-local): nfsv4, username secret key

This commit is contained in:
JJGadgets
2023-12-08 16:35:01 +08:00
parent ac22c2a14e
commit ebd33d6823
2 changed files with 3 additions and 3 deletions

View File

@@ -59,7 +59,7 @@ spec:
valueFrom:
secretKeyRef:
name: *pguser
key: "username"
key: "user"
- name: "POSTGRES_PASSWORD"
valueFrom:
secretKeyRef:
@@ -79,7 +79,7 @@ spec:
nfs:
server: "${IP_TRUENAS}"
path: "${PATH_NAS_BACKUPS_K8S}/pg-dump"
mountOptions: ["nfsvers=4.2", "tcp", "hard", "noatime", "nodiratime", "nocto"]
mountOptions: ["nfsvers=4", "tcp", "hard", "noatime", "nodiratime", "nocto"]
---
apiVersion: v1
kind: PersistentVolumeClaim

View File

@@ -12,4 +12,4 @@ spec:
nfs:
server: "${IP_TRUENAS}"
path: "${PATH_NAS_BACKUPS_PGBACKREST}"
mountOptions: ["nfsvers=4.2", "tcp", "hard", "noatime", "nodiratime", "nocto"]
mountOptions: ["nfsvers=4", "tcp", "hard", "noatime", "nodiratime", "nocto"]