Revert "Revert "🐛 Fix the commands in case of -debug flag enabled""

This reverts commit 64b22daa2a.
This commit is contained in:
M. Mert Yildiran 2023-07-03 15:11:04 +03:00
parent 51eddd3ae4
commit f269a61842
No known key found for this signature in database
GPG Key ID: DA5D6DCBB758A461
2 changed files with 4 additions and 2 deletions

View File

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

View File

@ -34,7 +34,8 @@ spec:
spec:
containers:
- command:
- '{{ .Values.tap.debug | ternary "./worker -debug" "./worker" }}'
- ./worker
- {{ .Values.tap.debug | ternary "-debug" "" }}
- -i
- any
- -port