apiVersion: argoproj.io/v1alpha1 kind: Application metadata: name: obsidian-vault namespace: argocd spec: project: obsidian source: repoURL: https://gitea.mk-labs.cloud/rblundon/homelab.git targetRevision: main path: deploy directory: # Exclude the Application manifest itself (already in argocd) exclude: "application.yaml" destination: server: https://kubernetes.default.svc namespace: obsidian syncPolicy: automated: prune: true selfHeal: true syncOptions: - ServerSideApply=true - PruneLast=true