From c5134f0dd7842987783b80c282cbf4c7a7e04ef2 Mon Sep 17 00:00:00 2001 From: Simon Larsen Date: Mon, 9 Dec 2024 10:32:55 +0000 Subject: [PATCH] Add default value for PROBE_MONITOR_RETRY_LIMIT in probe.yaml and update values.yaml --- HelmChart/Public/oneuptime/templates/probe.yaml | 5 +++++ HelmChart/Public/oneuptime/values.yaml | 1 + 2 files changed, 6 insertions(+) diff --git a/HelmChart/Public/oneuptime/templates/probe.yaml b/HelmChart/Public/oneuptime/templates/probe.yaml index 30bfd12b04..6e6bae1882 100644 --- a/HelmChart/Public/oneuptime/templates/probe.yaml +++ b/HelmChart/Public/oneuptime/templates/probe.yaml @@ -64,8 +64,13 @@ spec: value: {{ $val.description }} - name: PROBE_MONITORING_WORKERS value: {{ $val.monitoringWorkers | squote }} + {{- if $val.monitorRetryLimit }} - name: PROBE_MONITOR_RETRY_LIMIT value: {{ $val.monitorRetryLimit | squote }} + {{- else }} + - name: PROBE_MONITOR_RETRY_LIMIT + value: {{ 3 | squote }} + {{- end }} # syntheticMonitorScriptTimeoutInMs - name: PROBE_SYNTHETIC_MONITOR_SCRIPT_TIMEOUT_IN_MS value: {{ $val.syntheticMonitorScriptTimeoutInMs | squote }} diff --git a/HelmChart/Public/oneuptime/values.yaml b/HelmChart/Public/oneuptime/values.yaml index bf9c5855dd..8a463892c1 100644 --- a/HelmChart/Public/oneuptime/values.yaml +++ b/HelmChart/Public/oneuptime/values.yaml @@ -193,6 +193,7 @@ probes: description: "Probe" monitoringWorkers: 3 monitorFetchLimit: 10 + monitorRetryLimit: 3 key: replicaCount: 1 syntheticMonitorScriptTimeoutInMs: 60000