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