Files
telecom-platform/deployments/argocd/argocd-app-of-apps.yaml
T
nutcas3 f0da1abcef feat: Add ArgoCD app-of-apps pattern for GitOps deployment automation
- Add telecom-platform-root Application manifest with automated sync policy
- Configure source repository pointing to deployments/argocd/apps directory on main branch
- Enable automated pruning and self-healing for continuous reconciliation
- Add CreateNamespace and PrunePropagationPolicy=foreground sync options
- Configure retry policy with 5 attempts, exponential backoff from 5s to 3m
- Set destination to default Kubernetes cluster
2026-04-17 17:17:48 +03:00

32 lines
750 B
YAML

apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: telecom-platform-root
namespace: argocd
labels:
app.kubernetes.io/name: telecom-platform-root
app.kubernetes.io/component: gitops
app.kubernetes.io/part-of: telecom-platform
spec:
project: default
source:
repoURL: https://github.com/nutcas3/telecom-platform.git
targetRevision: main
path: deployments/argocd/apps
destination:
server: https://kubernetes.default.svc
namespace: argocd
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true
- PrunePropagationPolicy=foreground
retry:
limit: 5
backoff:
duration: 5s
factor: 2
maxDuration: 3m