26 lines
501 B
YAML
26 lines
501 B
YAML
|
apiVersion: argoproj.io/v1alpha1
|
||
|
kind: Application
|
||
|
metadata:
|
||
|
name: argo2
|
||
|
namespace: argocd
|
||
|
spec:
|
||
|
destination:
|
||
|
namespace: argocd
|
||
|
server: https://kubernetes.default.svc
|
||
|
project: default
|
||
|
source:
|
||
|
path: .
|
||
|
repoURL: https://git.strudelline.net/infra/argo1
|
||
|
targetRevision: main
|
||
|
syncPolicy:
|
||
|
automated:
|
||
|
selfHeal: true
|
||
|
retry:
|
||
|
backoff:
|
||
|
duration: 5s
|
||
|
factor: 2
|
||
|
maxDuration: 3m0s
|
||
|
limit: 10
|
||
|
syncOptions:
|
||
|
- CreateNamespace=true
|