update postgres

This commit is contained in:
2025-03-16 00:12:04 +01:00
parent f082695652
commit 06c05568e8

View File

@@ -1,7 +1,7 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: postgres
name: postgresql
namespace: argocd
spec:
project: default
@@ -10,8 +10,8 @@ spec:
chart: "postgresql"
targetRevision: "16.0.0"
helm:
releaseName: "postgresql" # Ensures this Helm release is managed inside "postgres"
values: |
releaseName: "postgresql"
valueObject:
global:
storageClass: longhorn
primary:
@@ -24,16 +24,11 @@ spec:
enabled: true
storageClass: longhorn
size: 20Gi
auth:
existingSecret: "postgresql" # Use the existing secret
username: "postgres" # Ensure username matches the expected value
secretKeys:
adminPasswordKey: "postgres-password" # Match your secret key
destination:
server: "https://kubernetes.default.svc"
namespace: postgres
syncPolicy:
automated:
selfHeal: true
ignoreDifferences:
- group: ""
kind: Secret
name: postgresql
namespace: postgres
jsonPointers:
- /data