23 lines
593 B
YAML
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
|