Skip to content

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

Merged
hessjcg merged 1 commit intomainfrom
fix-yaml-fmt
Sep 20, 2023
Merged

chore: Fix yaml formatter so that it only formats the config/ directory#440
hessjcg merged 1 commit intomainfrom
fix-yaml-fmt

Conversation

@hessjcg
Copy link
Copy Markdown
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
@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