diff --git a/charts/substreams-sink-sql-backfill/Chart.yaml b/charts/substreams-sink-sql-backfill/Chart.yaml index 59e742c..fe8491f 100644 --- a/charts/substreams-sink-sql-backfill/Chart.yaml +++ b/charts/substreams-sink-sql-backfill/Chart.yaml @@ -15,7 +15,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.1.5 +version: 0.1.6 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/charts/substreams-sink-sql-backfill/templates/workflow.yaml b/charts/substreams-sink-sql-backfill/templates/workflow.yaml index a3e40c4..e0bc851 100644 --- a/charts/substreams-sink-sql-backfill/templates/workflow.yaml +++ b/charts/substreams-sink-sql-backfill/templates/workflow.yaml @@ -31,12 +31,7 @@ spec: templates: - name: main retryStrategy: - retryPolicy: "Always" - limit: "3" - backoff: - duration: "10" - factor: "2" - maxDuration: "1h" + {{- .Values.retryStrategy | toYaml | nindent 6 }} steps: {{- range $rangeIndex, $range := .Values.blockRanges }} {{- if eq $rangeIndex 0 }} diff --git a/charts/substreams-sink-sql-backfill/values.yaml b/charts/substreams-sink-sql-backfill/values.yaml index 82b6d31..ab68c63 100644 --- a/charts/substreams-sink-sql-backfill/values.yaml +++ b/charts/substreams-sink-sql-backfill/values.yaml @@ -32,6 +32,13 @@ podGarbageCollection: strategy: OnPodCompletion deleteDelayDuration: 30s +retryStrategy: + retryPolicy: "OnFailure" + limit: "100" + backoff: + duration: "1m" + factor: "2" + maxDuration: "6h" # Indicate the number of parallel jobs and the resources used by a job # This way, you can limit the total resources used with *