update postgres

This commit is contained in:
2025-03-16 00:26:43 +01:00
parent 06c05568e8
commit fa5ea6d902

View File

@@ -1,7 +1,7 @@
apiVersion: argoproj.io/v1alpha1 apiVersion: argoproj.io/v1alpha1
kind: Application kind: Application
metadata: metadata:
name: postgresql name: postgres # Rename to "postgres" to match the Helm release
namespace: argocd namespace: argocd
spec: spec:
project: default project: default
@@ -10,7 +10,7 @@ spec:
chart: "postgresql" chart: "postgresql"
targetRevision: "16.0.0" targetRevision: "16.0.0"
helm: helm:
releaseName: "postgresql" releaseName: "postgres" # Match the ArgoCD application name
valueObject: valueObject:
global: global:
storageClass: longhorn storageClass: longhorn
@@ -26,9 +26,9 @@ spec:
size: 20Gi size: 20Gi
auth: auth:
existingSecret: "postgresql" # Use the existing secret existingSecret: "postgresql" # Use the existing secret
username: "postgres" # Ensure username matches the expected value username: "postgres"
secretKeys: secretKeys:
adminPasswordKey: "postgres-password" # Match your secret key adminPasswordKey: "postgres-password"
destination: destination:
server: "https://kubernetes.default.svc" server: "https://kubernetes.default.svc"
namespace: postgres namespace: postgres