Files
homelab/k8s-ng/postgresql/app.yaml
T
Aleksandr Bogomiakov 862a7619e2
Update Kubernetes Services Wiki / Generate and Update K8s Wiki (push) Successful in 22s
Track main instead of k8s-ng in the new cluster's applications
2026-10-05 18:31:58 +01:00

23 lines
591 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: main
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