Skip to content

Commit

Permalink
feat(benthos-collector): adjust preset paths in helm chart
Browse files Browse the repository at this point in the history
Signed-off-by: Mark Sagi-Kazar <[email protected]>
  • Loading branch information
sagikazarmark committed Jan 23, 2024
1 parent 8692685 commit a801bfd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deploy/charts/benthos-collector/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,9 @@ Create args for the deployment
["benthos", "-c", "{{ .Values.configFile }}"]
{{- else if .Values.preset }}
{{- if eq .Values.preset "http-server" -}}
["benthos", "streams", "--no-api", "/etc/benthos/examples/http-server/input.yaml", "/etc/benthos/examples/http-server/output.yaml"]
["benthos", "streams", "--no-api", "/etc/benthos/presets/http-server/input.yaml", "/etc/benthos/presets/http-server/output.yaml"]
{{- else if eq .Values.preset "kubernetes-pod-exec-time" -}}
["benthos", "-c", "/etc/benthos/examples/kubernetes-pod-exec-time/config.yaml"]
["benthos", "-c", "/etc/benthos/presets/kubernetes-pod-exec-time/config.yaml"]
{{- else }}
{{- fail (printf "Invalid example '%s" .Values.preset) }}
{{- end }}
Expand Down

0 comments on commit a801bfd

Please sign in to comment.