# Syncs OneLab app + observability (Loki/Promtail/Grafana) into namespace onelab. # Requires Argo CD 2.6+ (spec.sources). Ensure repoURL matches your remote. # # If you already had this Application with spec.source only, kubectl apply may not drop # source — see gitops/README.md (Migrating spec.source → spec.sources) and jsonpatch-multisource.json. apiVersion: argoproj.io/v1alpha1 kind: Application metadata: name: onelab namespace: argocd finalizers: - resources-finalizer.argocd.argoproj.io spec: project: default sources: - repoURL: https://github.com/YOUR_ORG/YOUR_REPO.git targetRevision: main path: gitops/charts/onelab helm: releaseName: onelab valueFiles: - ../../values/env-example.yaml - repoURL: https://github.com/YOUR_ORG/YOUR_REPO.git targetRevision: main path: gitops/observability helm: releaseName: onelab-obs valueFiles: - ../../values/observability.yaml destination: server: https://kubernetes.default.svc namespace: onelab syncPolicy: automated: prune: true selfHeal: true syncOptions: - CreateNamespace=true