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
This commit is contained in:
nutcas3
2026-04-17 17:17:48 +03:00
parent 6ba7bc9a41
commit f0da1abcef
@@ -0,0 +1,31 @@
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