apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
  name: files-application
  namespace: argocd

spec:
  project: apps
  source:
    repoURL: ssh://git@git.kluster.moll.re:2222/remoll/k3s-infra.git
    targetRevision: main
    path: apps/files
  destination:
    server: https://kubernetes.default.svc
    namespace: files
  syncPolicy:
    automated:
      prune: true
      selfHeal: true