update psql
This commit is contained in:
40
deploy/postgres/postgres-app.yaml
Normal file
40
deploy/postgres/postgres-app.yaml
Normal file
@@ -0,0 +1,40 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: postgres # Changed from "postgresql" to "postgres"
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: default
|
||||
source:
|
||||
repoURL: "https://charts.bitnami.com/bitnami"
|
||||
chart: "postgresql"
|
||||
targetRevision: "16.0.0"
|
||||
helm:
|
||||
releaseName: "postgresql" # Ensures this Helm release is managed inside "postgres"
|
||||
values: |
|
||||
global:
|
||||
storageClass: longhorn
|
||||
primary:
|
||||
persistence:
|
||||
enabled: true
|
||||
storageClass: longhorn
|
||||
size: 20Gi
|
||||
readReplicas:
|
||||
persistence:
|
||||
enabled: true
|
||||
storageClass: longhorn
|
||||
size: 20Gi
|
||||
destination:
|
||||
server: "https://kubernetes.default.svc"
|
||||
namespace: postgres
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true
|
||||
selfHeal: true
|
||||
ignoreDifferences:
|
||||
- group: ""
|
||||
kind: Secret
|
||||
name: postgresql
|
||||
namespace: postgres
|
||||
jsonPointers:
|
||||
- /data
|
Reference in New Issue
Block a user