From 6b55a9505424524fd25377063f1ac03c1d2fc2dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beatrice=20Dellac=C3=A0?= Date: Sat, 15 Mar 2025 23:30:43 +0100 Subject: [PATCH] update psql --- .../postgres-app.yaml} | 3 ++- deploy/postgresql/postgresql-managed.yaml | 21 ------------------- 2 files changed, 2 insertions(+), 22 deletions(-) rename deploy/{postgresql/postgresql-app.yaml => postgres/postgres-app.yaml} (84%) delete mode 100644 deploy/postgresql/postgresql-managed.yaml diff --git a/deploy/postgresql/postgresql-app.yaml b/deploy/postgres/postgres-app.yaml similarity index 84% rename from deploy/postgresql/postgresql-app.yaml rename to deploy/postgres/postgres-app.yaml index cb16a82..dafdfc3 100644 --- a/deploy/postgresql/postgresql-app.yaml +++ b/deploy/postgres/postgres-app.yaml @@ -1,7 +1,7 @@ apiVersion: argoproj.io/v1alpha1 kind: Application metadata: - name: postgresql + name: postgres # Changed from "postgresql" to "postgres" namespace: argocd spec: project: default @@ -10,6 +10,7 @@ spec: chart: "postgresql" targetRevision: "16.0.0" helm: + releaseName: "postgresql" # Ensures this Helm release is managed inside "postgres" values: | global: storageClass: longhorn diff --git a/deploy/postgresql/postgresql-managed.yaml b/deploy/postgresql/postgresql-managed.yaml deleted file mode 100644 index 931d4b1..0000000 --- a/deploy/postgresql/postgresql-managed.yaml +++ /dev/null @@ -1,21 +0,0 @@ -apiVersion: argoproj.io/v1alpha1 -kind: Application -metadata: - name: postgresql - namespace: argocd -spec: - project: default - destination: - server: "https://kubernetes.default.svc" - namespace: postgres - syncPolicy: - automated: - prune: true - selfHeal: true - ignoreDifferences: - - group: "" - kind: Secret - name: postgresql - namespace: postgres - jsonPointers: - - /data