---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
  name: test-deployments
  namespace: argocd
spec:
  project: default
  source:
    repoURL: https://git.ar21.de/yolokube/core-deployments.git
    targetRevision: HEAD
    path: tests
  destination:
    server: https://kubernetes.default.svc
    namespace: test-deployments
  syncPolicy:
    syncOptions:
    - CreateNamespace=true

    automated:
      selfHeal: false
      prune: true
---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
  name: egress-test
  namespace: argocd
spec:
  project: default
  source:
    repoURL: https://git.ar21.de/aaron/egress-test-deployment.git
    targetRevision: HEAD
    path: ressources
  destination:
    server: https://kubernetes.default.svc
    namespace: egress-test
  syncPolicy:
    syncOptions:
    - CreateNamespace=true

    automated:
      selfHeal: false
      prune: true