38 lines
854 B
YAML
38 lines
854 B
YAML
apiVersion: argoproj.io/v1alpha1
|
|
kind: Application
|
|
metadata:
|
|
name: infrastructure-app-of-apps
|
|
namespace: argocd
|
|
labels:
|
|
app.kubernetes.io/name: infrastructure-app-of-apps
|
|
app.kubernetes.io/part-of: platform
|
|
app.kubernetes.io/managed-by: argocd
|
|
annotations:
|
|
argocd.argoproj.io/sync-wave: "-1"
|
|
spec:
|
|
project: default
|
|
source:
|
|
repoURL: https://github.com/fortedigital/sturdy-adventure.git
|
|
targetRevision: HEAD
|
|
path: argocd
|
|
kustomize:
|
|
enable: true
|
|
destination:
|
|
server: https://kubernetes.default.svc
|
|
namespace: argocd
|
|
syncPolicy:
|
|
automated:
|
|
prune: true
|
|
selfHeal: true
|
|
syncOptions:
|
|
- CreateNamespace=true
|
|
- Validate=true
|
|
- ServerSideApply=true
|
|
timeout: 300s
|
|
retry:
|
|
limit: 5
|
|
backoff:
|
|
duration: 5s
|
|
factor: 2
|
|
maxDuration: 3m
|