🐛 Fix the commands in case of -debug flag enabled

This commit is contained in:
M. Mert Yildiran 2023-07-03 12:08:57 +03:00
parent d8ee89225c
commit 3a2d34647e
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