mirror of
https://github.com/andwati/telecom-platform.git
synced 2026-11-04 10:52:19 +00:00
- 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
32 lines
750 B
YAML
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
|