# ArgoCD Application for RoboCo # This defines how ArgoCD should deploy and manage RoboCo apiVersion: argoproj.io/v1alpha1 kind: Application metadata: name: roboco namespace: argocd finalizers: - resources-finalizer.argocd.argoproj.io spec: project: default source: # GitHub repository containing K8s manifests repoURL: git@github.com:renzof/roboco.git targetRevision: main path: deploy/overlays/production destination: # Deploy to local cluster server: https://kubernetes.default.svc namespace: roboco syncPolicy: automated: # Automatically prune resources that are no longer in git prune: true # Automatically sync when ArgoCD detects drift selfHeal: true # Don't allow empty directories allowEmpty: false syncOptions: # Create namespace if it doesn't exist - CreateNamespace=true # Use foreground deletion for proper cleanup - PrunePropagationPolicy=foreground retry: limit: 5 backoff: duration: 5s factor: 2 maxDuration: 3m # Ignore differences that are expected (e.g., HPA manages replicas) ignoreDifferences: - group: apps kind: Deployment jsonPointers: - /spec/replicas # Health checks info: - name: description value: "RoboCo AI Agentic Company" - name: maintainer value: "renzof"