Fixed a bug in the Helm chart that did not

override the sniffer container once an override Worker config value was present
This commit is contained in:
Alon Girmonsky
2024-06-08 10:58:36 -07:00
parent 30e6d28672
commit 40177b8fa9

View File

@@ -73,7 +73,11 @@ spec:
- -dumptracer
- "100000000"
{{- end }}
{{- if .Values.tap.docker.overrideTag.worker }}
image: '{{ .Values.tap.docker.registry }}/worker:{{ .Values.tap.docker.overrideTag.worker }}'
{{ else }}
image: '{{ .Values.tap.docker.registry }}/worker:{{ not (eq .Values.tap.docker.tag "") | ternary .Values.tap.docker.tag (printf "v%s" .Chart.Version) }}'
{{- end }}
imagePullPolicy: {{ .Values.tap.docker.imagePullPolicy }}
name: sniffer
ports: