update psql

This commit is contained in:
2025-03-15 23:30:43 +01:00
parent bebfbe6c54
commit 6b55a95054
2 changed files with 2 additions and 22 deletions

View File

@@ -1,7 +1,7 @@
apiVersion: argoproj.io/v1alpha1 apiVersion: argoproj.io/v1alpha1
kind: Application kind: Application
metadata: metadata:
name: postgresql name: postgres # Changed from "postgresql" to "postgres"
namespace: argocd namespace: argocd
spec: spec:
project: default project: default
@@ -10,6 +10,7 @@ spec:
chart: "postgresql" chart: "postgresql"
targetRevision: "16.0.0" targetRevision: "16.0.0"
helm: helm:
releaseName: "postgresql" # Ensures this Helm release is managed inside "postgres"
values: | values: |
global: global:
storageClass: longhorn storageClass: longhorn

View File

@@ -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