-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Command "fmt" is deprecated - Declare a formatting transformer in your kustomization instead #4339
Comments
Apologies for the cryptic and confusing warning. We have decided that commands such as We would appreciate feedback if either:
Please comment back if you have any further questions! /kind support |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /close |
@k8s-triage-robot: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
@natasha41575 we just ran across this issue and were wondering whether there were any good examples to follow. We have attempted to have all of our "code" use strong formatting. Google-java-formatter for java, black for python, etc. This has improved our code review as there are fewer style discussions and users are less likely to miss or change large chunks of code. For k8s objects, having a standard order makes looking at and reviewing diffs much easier. We don't really want to build our whole system around a feature that will be removed in kustomize v5, but the alternative seems to be pretty heavy-handed. Needing to add a new formatter argument to every Cheer, |
I agree that |
I agree with the last 2 comments, I wrote a couple of go/exec plugins and they go deprecated in favor of KRM plugins. KRM plugins are still in the Alpha stage, I am worried that those types of plugins would be temporary too. |
When using
kustomize cfg fmt
I got this warning.I don't understand the suggestion, "Declare a formatting transformer in your kustomization instead.".
Can someone explain what this means?
The text was updated successfully, but these errors were encountered: