apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
  name: external-dns
  namespace: argocd
spec:
  project: default
  source:
    repoURL: 'git@git.k-space.ee:k-space/kube.git'
    path: external-dns
    targetRevision: HEAD
  destination:
    server: 'https://kubernetes.default.svc'
    namespace: external-dns
  syncPolicy:
    syncOptions:
      - CreateNamespace=true