Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to set the config file #82

Closed
FerroEduardo opened this issue Feb 7, 2024 · 1 comment
Closed

How to set the config file #82

FerroEduardo opened this issue Feb 7, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@FerroEduardo
Copy link

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 charlie-haley added the bug Something isn't working label Feb 21, 2024
@charlie-haley
Copy link
Collaborator

Closing, duplicate of #83

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants