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