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

Do not format helm yaml templates #2439

Closed

Conversation

robyngit
Copy link
Member

@robyngit robyngit commented Jun 7, 2024

Prettier misinterprets go templating in yaml as invalid yaml syntax. Unfortunately, there is not currently support for Helm’s template + yaml language, so this PR makes sure Prettier ignore these files. It also updates the helm branch with the latest develop changes, so that Prettier is available to update!

@robyngit robyngit requested a review from artntek June 7, 2024 18:38
CONTRIBUTING.md Outdated Show resolved Hide resolved
**/*.min.*
# Ignore helm's go yaml templates
helm/**/*.yaml
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think for now, we could safely just make this everything in helm/, not just *.yaml files. For example, there are _*.tpl files, *.js files, soon to be *.sh files, all of which are go templates.

@artntek
Copy link
Contributor

artntek commented Jul 8, 2024

Closing this PR. Instead, @robyngit and I agreed that I shoudl make this change in PR #2427 (see change here)

@artntek artntek closed this Jul 8, 2024
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

Successfully merging this pull request may close these issues.

2 participants