🐛 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: spec:
containers: containers:
- command: - command:
- {{ .Values.tap.debug | ternary "./hub -debug" "./hub" }} - ./hub
- {{ .Values.tap.debug | ternary "-debug" "" }}
env: env:
- name: POD_REGEX - name: POD_REGEX
value: '{{ .Values.tap.regex }}' value: '{{ .Values.tap.regex }}'

View File

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