apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
  name: sankofa-phoenix
  namespace: argocd
spec:
  project: default
  source:
    repoURL: ${GIT_REPO_URL:-https://github.com/YOUR_ORG/sankofa-phoenix}
    targetRevision: ${GIT_BRANCH:-main}
    path: gitops/apps
  destination:
    server: https://kubernetes.default.svc
    namespace: sankofa
  syncPolicy:
    automated:
      prune: true
      selfHeal: true
    syncOptions:
      - CreateNamespace=true
    retry:
      limit: 5
      backoff:
        duration: 5s
        factor: 2
        maxDuration: 3m

