diff --git a/deploy/charts/benthos-collector/templates/_helpers.tpl b/deploy/charts/benthos-collector/templates/_helpers.tpl index 0b7642ee2..5e596dda5 100644 --- a/deploy/charts/benthos-collector/templates/_helpers.tpl +++ b/deploy/charts/benthos-collector/templates/_helpers.tpl @@ -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 }}