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

A bug in quickwit chart version 0.7.9 #120

Closed
plainfatboy opened this issue Jan 20, 2025 · 2 comments
Closed

A bug in quickwit chart version 0.7.9 #120

plainfatboy opened this issue Jan 20, 2025 · 2 comments

Comments

@plainfatboy
Copy link
Contributor

plainfatboy commented Jan 20, 2025

I was using helm chart version 0.7.8 and it was working fine. Today, I have upgrade the helm chart to version 0.7.9 and it starts to fail with error

error: Error: template: quickwit/templates/job-create-indices.yaml:97:40: 
executing "quickwit/templates/job-create-indices.yaml" at 
<.Values.tolerations>: nil pointer evaluating interface {}.tolerations```

I get into the template folder of the chart and found the bug in
- charts/quickwit/templates/job-create-indices.yaml:line 97
- charts/quickwit/templates/job-create-sources.yaml:line 99

The bug cause by accessing .Value inside {{ range... }}{{ end }} block
Ref:
- https://stackoverflow.com/a/76790943
- https://helm.sh/docs/chart_template_guide/variables/

**Fix:**
The .Values inside {{with}}{{ end }} block should be replaced with $.Values in both files





@plainfatboy
Copy link
Contributor Author

I created a PR: #121. Please take a look and feel free to make any updates you deem necessary.

@plainfatboy
Copy link
Contributor Author

The PR is merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant