From 9283b8cad9768e0956536bc77e65808e5026b397 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beatrice=20Dellac=C3=A0?= Date: Sat, 15 Mar 2025 18:26:15 +0100 Subject: [PATCH] update postgres --- deploy/postgres/postgres-app.yaml | 15 +++++++++++++-- deploy/postgres/values.yaml | 14 -------------- 2 files changed, 13 insertions(+), 16 deletions(-) delete mode 100644 deploy/postgres/values.yaml diff --git a/deploy/postgres/postgres-app.yaml b/deploy/postgres/postgres-app.yaml index cda7a6e..febd0ab 100644 --- a/deploy/postgres/postgres-app.yaml +++ b/deploy/postgres/postgres-app.yaml @@ -10,8 +10,19 @@ spec: chart: "postgresql" targetRevision: "16.0.0" helm: - valueFiles: - - values.yaml + values: | + global: + storageClass: longhorn + primary: + persistence: + enabled: true + storageClass: longhorn + size: 20Gi + readReplicas: + persistence: + enabled: true + storageClass: longhorn + size: 20Gi destination: server: "https://kubernetes.default.svc" namespace: postgres diff --git a/deploy/postgres/values.yaml b/deploy/postgres/values.yaml deleted file mode 100644 index 6607ade..0000000 --- a/deploy/postgres/values.yaml +++ /dev/null @@ -1,14 +0,0 @@ -global: - storageClass: longhorn - -primary: - persistence: - enabled: true - storageClass: longhorn - size: 20Gi - -readReplicas: - persistence: - enabled: true - storageClass: longhorn - size: 20Gi