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