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