redpanda-data / redpanda-connect-helm-chart

Helm 3 repository for benthosdev/benthos
MIT License
34 stars 26 forks source link

How to set the config file #82

Closed FerroEduardo closed 6 months ago

FerroEduardo commented 7 months ago

How am I supposed to set my benthos config file to the chart? Since this change/v2.1.0, I am unable to set using --set-file config=./path/config.yaml.

I also tried to set using cat, but no success:

rawConfigFile=$(cat my-config.yaml)

helm upgrade --install my-service benthos/benthos \
    --version 2.1.0 \
    -n my-namespace \
    --set config="$rawConfigFile"

Generated config file

http:
address: 0.0.0.0:4195
cors:
enabled: false
debug_endpoints: false
enabled: true
root_path: /benthos
-
input:
http_server:
path: /poc
output:
broker:
outputs:
- stdout:
codec: lines
- sync_response: {}
charlie-haley commented 6 months ago

Closing, duplicate of https://github.com/benthosdev/benthos-helm-chart/issues/83