Skip to content

Commit

Permalink
Add default value for PROBE_MONITOR_RETRY_LIMIT in probe.yaml and upd…
Browse files Browse the repository at this point in the history
…ate values.yaml
  • Loading branch information
simlarsen committed Dec 9, 2024
1 parent 9e117f3 commit c5134f0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions HelmChart/Public/oneuptime/templates/probe.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
1 change: 1 addition & 0 deletions HelmChart/Public/oneuptime/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,7 @@ probes:
description: "Probe"
monitoringWorkers: 3
monitorFetchLimit: 10
monitorRetryLimit: 3
key:
replicaCount: 1
syntheticMonitorScriptTimeoutInMs: 60000
Expand Down

0 comments on commit c5134f0

Please sign in to comment.