From 849866a5d9b5e6255654e83e9254a5db866c9cba Mon Sep 17 00:00:00 2001 From: Geoff Date: Sun, 17 Mar 2024 20:07:03 -0500 Subject: [PATCH] Update k8s.md Resolve initdb: error: directory "/var/lib/postgresql/data" exists but is not empty for Postgresql Installation Signed-off-by: Geoff --- docs/deployment/k8s.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/deployment/k8s.md b/docs/deployment/k8s.md index 479d99510b..00bf7464e3 100644 --- a/docs/deployment/k8s.md +++ b/docs/deployment/k8s.md @@ -209,6 +209,7 @@ spec: volumeMounts: - mountPath: /var/lib/postgresql/data name: postgresdb + subPath: data volumes: - name: postgresdb persistentVolumeClaim: