From f269a61842a91a0a557ad68bc57f47b2e63ec2c0 Mon Sep 17 00:00:00 2001 From: "M. Mert Yildiran" Date: Mon, 3 Jul 2023 15:11:04 +0300 Subject: [PATCH] Revert "Revert ":bug: Fix the commands in case of `-debug` flag enabled"" This reverts commit 64b22daa2a783b354ed1b501e88cf99a7dfc8599. --- 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