From effa3fcdaacc3bb7cbf1bbf79cb88bc11f106389 Mon Sep 17 00:00:00 2001 From: auricom <27022259+auricom@users.noreply.github.com> Date: Thu, 2 Jun 2022 14:41:38 +0200 Subject: [PATCH] feat: remove nfs pvc --- cluster/apps/data/pgbackups/deployment.yaml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/cluster/apps/data/pgbackups/deployment.yaml b/cluster/apps/data/pgbackups/deployment.yaml index c7614b5e6..be1c33afc 100644 --- a/cluster/apps/data/pgbackups/deployment.yaml +++ b/cluster/apps/data/pgbackups/deployment.yaml @@ -55,13 +55,14 @@ spec: ports: - containerPort: 8080 volumeMounts: - - name: nfs-backups-data + - name: backups mountPath: /backups subPath: postgresql volumes: - - name: nfs-backups-data - persistentVolumeClaim: - claimName: nfs-backups-data + - name: backups + nfs: + server: "${LOCAL_LAN_TRUENAS}" + path: /mnt/storage/backups dnsConfig: options: - name: ndots