Files
homelab/k8s-ng/postgresql/app.yaml
T
2026-10-05 18:30:17 +01:00

23 lines
593 B
YAML

apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: postgresql
namespace: argocd
spec:
project: core
destination:
namespace: psql
server: https://kubernetes.default.svc
source:
repoURL: https://gt.hexor.cy/ab/homelab.git
targetRevision: k8s-ng
path: k8s-ng/postgresql
syncPolicy:
automated:
selfHeal: true
prune: false # never delete databases because of a manifest change
syncOptions:
- CreateNamespace=true
- ServerSideApply=true
- SkipDryRunOnMissingResource=true # the cnpg Application installs the CRDs