From 3a2d34647ef9616cf1492b9eb2deb33e4009886e Mon Sep 17 00:00:00 2001 From: "M. Mert Yildiran" Date: Mon, 3 Jul 2023 12:08:57 +0300 Subject: [PATCH] :bug: Fix the commands in case of `-debug` flag enabled --- helm-chart/templates/04-hub-pod.yaml | 3 ++- helm-chart/templates/09-worker-daemon-set.yaml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/helm-chart/templates/04-hub-pod.yaml b/helm-chart/templates/04-hub-pod.yaml index 83a57b661..0d40e5d01 100644 --- a/helm-chart/templates/04-hub-pod.yaml +++ b/helm-chart/templates/04-hub-pod.yaml @@ -17,7 +17,8 @@ metadata: spec: containers: - command: - - {{ .Values.tap.debug | ternary "./hub -debug" "./hub" }} + - ./hub + - {{ .Values.tap.debug | ternary "-debug" "" }} env: - name: POD_REGEX value: '{{ .Values.tap.regex }}' diff --git a/helm-chart/templates/09-worker-daemon-set.yaml b/helm-chart/templates/09-worker-daemon-set.yaml index fa4ecb956..fef6789ac 100644 --- a/helm-chart/templates/09-worker-daemon-set.yaml +++ b/helm-chart/templates/09-worker-daemon-set.yaml @@ -34,7 +34,8 @@ spec: spec: containers: - command: - - '{{ .Values.tap.debug | ternary "./worker -debug" "./worker" }}' + - ./worker + - {{ .Values.tap.debug | ternary "-debug" "" }} - -i - any - -port