Closed rmvangun closed 3 months ago
Hi.
Yeah I can reproduce the bug with this value file:
---
searcher:
extraVolumes:
- name: foo
emptyDir: {}
$ helm template . --values values.yaml --values values2.yaml
Error: YAML parse error on quickwit/templates/searcher-statefulset.yaml: error converting YAML to JSON: yaml: line 108: did not find expected key
Use --debug flag to render out invalid YAML
And indeed this pull requests is fixing it quiet well :
$ helm template . --values values.yaml --values values2.yaml |grep foo -B1
- emptyDir: {}
name: foo
=> LGTM
@rmvangun Thanks for your work. You just have to bump the version to 0.6.3 in the Chart.yml in order to fix the pipeline, and we're good to go :) .
Thanks!
The bump will be handled with #96 instead
The indentation for the volume specification on the searcher statefulset was two spaces too many. When specifying
searcher.extraVolumes
, it resulted in:After this fix, this error is resolved and
volumes
is templated as expected.