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

chore: Fix yaml formatter so that it only formats the config/ directory #440

Merged
merged 1 commit into from
Sep 20, 2023

Conversation

hessjcg
Copy link
Collaborator

@hessjcg hessjcg commented Sep 20, 2023

We need to automatically format the yaml in config/ because some of it is generated
by controller-runtime and kubebuilder, some of it is hand-written. The formatter helps us
preserve the consistency and minimize noisy diffs when we upgrade the tools that generate yaml.

However, we don't want to format the hand-written yaml used elsewhere in this project as tool configuration
and example docs. The yaml formatter makes the yaml consistent, but not as readable.

@hessjcg hessjcg requested a review from a team as a code owner September 20, 2023 15:29
@hessjcg hessjcg merged commit ae858e5 into main Sep 20, 2023
8 checks passed
@hessjcg hessjcg deleted the fix-yaml-fmt branch September 20, 2023 16:17
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