From ebd33d68233bf01a985b569caa7160b3831bcf3c Mon Sep 17 00:00:00 2001 From: JJGadgets Date: Fri, 8 Dec 2023 16:35:01 +0800 Subject: [PATCH] fix(pg-dump-local): nfsv4, username secret key --- kube/deploy/core/db/pg/clusters/template/dump-local.yaml | 4 ++-- kube/deploy/core/db/pg/clusters/template/nfs.yaml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/kube/deploy/core/db/pg/clusters/template/dump-local.yaml b/kube/deploy/core/db/pg/clusters/template/dump-local.yaml index 4862c44d..2b1cf27a 100644 --- a/kube/deploy/core/db/pg/clusters/template/dump-local.yaml +++ b/kube/deploy/core/db/pg/clusters/template/dump-local.yaml @@ -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 diff --git a/kube/deploy/core/db/pg/clusters/template/nfs.yaml b/kube/deploy/core/db/pg/clusters/template/nfs.yaml index ce9003ca..c784b15d 100644 --- a/kube/deploy/core/db/pg/clusters/template/nfs.yaml +++ b/kube/deploy/core/db/pg/clusters/template/nfs.yaml @@ -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"]