redpanda-data / redpanda-connect-helm-chart

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

Support basic auth in streams mode #64

Closed maxsargentdev closed 8 months ago

maxsargentdev commented 8 months ago

You cant configure the benthos.yaml file manually when the chart is set to streams mode, this prevents enabling basic auth via:

http.basic_auth

http:
  address: 0.0.0.0:4195
  enabled: true
  root_path: /benthos
  debug_endpoints: false
  cert_file: ""
  key_file: ""
  cors:
    enabled: false
    allowed_origins: []
  basic_auth: # <----- cant set this, now I cant secure my streams
    enabled: false
    username: ""
    password_hash: ""
    algorithm: "sha256"
    salt: "

You really should be able to override this entire file when you are in streams mode as you would when not in streams mode....

I.e

    {{- tpl .Values.config . | nindent 4 }}