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 }}