From 635fcabecd889359123485ccd5e8b032809dbb79 Mon Sep 17 00:00:00 2001 From: Volodymyr Stoiko Date: Tue, 26 Aug 2025 23:00:01 +0300 Subject: [PATCH] Treat 0 value as 0s for dorman timeout (#1781) --- helm-chart/templates/04-hub-deployment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helm-chart/templates/04-hub-deployment.yaml b/helm-chart/templates/04-hub-deployment.yaml index 6ddcd70c1..bffc96f62 100644 --- a/helm-chart/templates/04-hub-deployment.yaml +++ b/helm-chart/templates/04-hub-deployment.yaml @@ -37,7 +37,7 @@ spec: - -loglevel - '{{ .Values.logLevel | default "warning" }}' - -capture-stop-after - - "{{ .Values.tap.capture.stopAfter | default "5m" }}" + - "{{ if hasKey .Values.tap.capture "stopAfter" }}{{ .Values.tap.capture.stopAfter }}{{ else }}5m{{ end }}" {{- if .Values.tap.gitops.enabled }} - -gitops {{- end }}