# A child Application in the app-of-apps tree. ArgoCD's root app finds this file # and creates this Application, which in turn syncs gitops-demo/dev into the # cluster. To add another service, copy this file and change name + path. # # NOTE: replace REPLACE_WITH_MANIFEST_REPO_URL with this repo's real HTTPS URL # (see README) — child Applications can't be templated by our shell scripts # because ArgoCD reads them straight from git. apiVersion: argoproj.io/v1alpha1 kind: Application metadata: name: gitops-demo-dev namespace: argocd spec: project: default source: repoURL: https://gitea.lgkentang.com/darren.maverick/k3s-manifests.git targetRevision: HEAD path: gitops-demo/dev destination: server: https://kubernetes.default.svc namespace: dev # per-environment namespace convention syncPolicy: automated: prune: true selfHeal: true syncOptions: - CreateNamespace=true