27 lines
524 B
YAML
Executable File
27 lines
524 B
YAML
Executable File
apiVersion: argoproj.io/v1alpha1
|
|
kind: Application
|
|
metadata:
|
|
name: dragon-bot
|
|
namespace: argocd
|
|
spec:
|
|
project: default
|
|
source:
|
|
repoURL: http://192.168.2.5/ldooks/dragon-bot.git
|
|
targetRevision: HEAD
|
|
path: helm
|
|
destination:
|
|
server: https://kubernetes.default.svc
|
|
namespace: default
|
|
syncPolicy:
|
|
automated:
|
|
prune: true
|
|
selfHeal: true
|
|
retry:
|
|
limit: 2
|
|
backoff:
|
|
duration: 5s
|
|
factor: 2
|
|
maxDuration: 3m0s
|
|
syncOptions:
|
|
- PruneLast=true
|