diff --git a/_templates/argo_base.template b/_templates/argo_base.template index 4ea63d3..a5670e0 100644 --- a/_templates/argo_base.template +++ b/_templates/argo_base.template @@ -3,6 +3,7 @@ name:: error "name must be defined", namespace:: $.name, syncOptions:: ["CreateNamespace=true"], + retryLimit:: 5, apiVersion: "argoproj.io/v1alpha1", kind: "Application", @@ -21,6 +22,14 @@ selfHeal: true, prune: true, }, + retry: { + limit: $.retryLimit, + backoff: { + duration: "5s", + factor: 2, + maxDuration: "5m", + }, + }, syncOptions: $.syncOptions, } } diff --git a/init.yml b/init.yml index ce23ece..d610796 100644 --- a/init.yml +++ b/init.yml @@ -50,3 +50,9 @@ spec: automated: prune: true selfHeal: true + retry: + limit: 5 + backoff: + duration: 5s + factor: 2 + maxDuration: 5m