Defer CLI receiver methods refactor to v5 #4762
Labels
lifecycle/frozen
Indicates that an issue or PR should not be auto-closed due to staleness.
triage/blocked
Milestone
This issue tracks PR #4675, which proposes changing CLI method receivers from values to pointers.
Why defer?
This change introduces a breaking change to the public CLI API, affecting consumers like Operator SDK and others that embed or extend Kubebuilder’s CLI logic.
While a workaround was suggested in the PR (retaining the old method for compatibility and adding a new one with a pointer receiver):
This approach avoids an immediate breakage, but comes with trade-offs:
Since this is a public API and widely used by consumers, we believe the cleanest and safest approach is to defer this change to Kubebuilder v5, where breaking changes are expected and better managed.
The text was updated successfully, but these errors were encountered: