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

Format output of render command #1813

Merged
merged 1 commit into from May 3, 2021

Conversation

phanimarupaka
Copy link
Contributor

@phanimarupaka phanimarupaka commented Apr 25, 2021

This PR adds format step for render command before writing the resources. Field ordering follows the ordering defined in the source Kubernetes resource definitions, falling back on lexicographical sorting for unrecognized fields.

Also updates e2e tests where the output is not formatted.

@phanimarupaka phanimarupaka linked an issue Apr 25, 2021 that may be closed by this pull request
@phanimarupaka phanimarupaka requested a review from mortent May 3, 2021 01:44
@phanimarupaka phanimarupaka merged commit 8cce847 into kptdev:next May 3, 2021
frankfarzan pushed a commit to frankfarzan/kpt that referenced this pull request Jun 3, 2021
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.

[Docs: 3.3 Editing a Package] Formatting-related changes after running eval Consistent YAML formatting
2 participants