kpt icon indicating copy to clipboard operation
kpt copied to clipboard

Epic: Consistent Formatting

Open phanimarupaka opened this issue 4 years ago • 2 comments

Phase 1: For beta2 release

  • [x] Preserve field ordering. (https://github.com/kubernetes-sigs/kustomize/pull/4021)
  • [x] Preserve sequence node indentation.
  • [x] Disable formatting for eval and render commands.

Solves issues: https://github.com/GoogleContainerTools/kpt/issues/2104 https://github.com/GoogleContainerTools/kpt/issues/2101 https://github.com/GoogleContainerTools/kpt/issues/2332 https://github.com/GoogleContainerTools/kpt/issues/2342 https://github.com/GoogleContainerTools/kpt/issues/2068

Phase 2: Long term

  • [ ] Design proposal when and how to format resources. (https://github.com/GoogleContainerTools/kpt/issues/2349)
  • [ ] Implement the items in approved proposal.
  • [ ] Related user issues (https://github.com/GoogleContainerTools/kpt/issues/2404, https://github.com/GoogleContainerTools/kpt/issues/2383, https://github.com/GoogleContainerTools/kpt/issues/2405)

phanimarupaka avatar May 26 '21 05:05 phanimarupaka

@phanimarupaka is phase1 finished up with beta2 release?

mikebz avatar Jul 22 '21 18:07 mikebz

@phanimarupaka is phase1 finished up with beta2 release?

Yes.

phanimarupaka avatar Jul 22 '21 18:07 phanimarupaka