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

[helm] - error linting extraObjects in mimir-distributed. #9862

Open
lasermoth opened this issue Nov 11, 2024 · 0 comments · May be fixed by #9863
Open

[helm] - error linting extraObjects in mimir-distributed. #9862

lasermoth opened this issue Nov 11, 2024 · 0 comments · May be fixed by #9863
Labels
bug Something isn't working helm

Comments

@lasermoth
Copy link
Contributor

lasermoth commented Nov 11, 2024

Describe the bug

There is an error running helm lint when the extraObjects key is in use.

 [ERROR] templates/extra-manifests.yaml: unable to parse YAML: invalid Yaml document separator:

This does not cause a problem with helm template.

I'm not sure why lint and template behave differently when templating but the same issue is described here

This will be due to the leading - in the tpl functions introduced in 5.5.1 which is trimming the whitespace, causing it to join on the line with the yaml separator ---

To Reproduce

Steps to reproduce the behavior:

  1. Run helm lint with mimir-distributed >= 5.5.1 with extraObjects:
@lasermoth lasermoth linked a pull request Nov 11, 2024 that will close this issue
4 tasks
@narqo narqo added bug Something isn't working helm labels Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working helm
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants