From 7d9909fbe998a3eafdbd22457f37d65f53ae274c Mon Sep 17 00:00:00 2001 From: Adrien Date: Wed, 14 Feb 2024 22:37:02 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Use=20a=20volume=20sub=20directo?= =?UTF-8?q?ry=20to=20store=20db=20data=20(PGDATA)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- postgres.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/postgres.yaml b/postgres.yaml index 58b59cd..03c30ca 100644 --- a/postgres.yaml +++ b/postgres.yaml @@ -72,6 +72,8 @@ spec: value: postgres - name: POSTGRES_PASSWORD value: password + - name: PGDATA + value: /var/lib/postgresql/data/pgdata # envFrom: # - configMapRef: # name: postgres-config