-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
[Blocked do not merge] ⚠️ (kustomize/v1,go/v3): upgrade kustomize 3.x to 4.x and add test to ensure backwards compatibility #2758
Conversation
6cfea18
to
ddb867f
Compare
About errors in the CI/prow: Regards That is OK. We have the check to not allow we break the API. |
ddb867f
to
acab8fa
Compare
/test pull-kubebuilder-e2e-k8s-1-18-20 |
92adf8c
to
2716514
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, just a minor spelling nit.
2716514
to
199467e
Compare
The |
Hi @FillZpp,
We should not ignore this test. |
/lgtm |
199467e
to
626691a
Compare
2d883f0
to
cb42506
Compare
cb42506
to
45bae2c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
/lgtm |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, it looks like the Kustomize version in scaffolds is not updated to v4.5.5
from v3.5.4
which is causing the APIDiff
test to fail.
e559bea
to
76884fd
Compare
Hi @rashmigottipati,
The APIDiff comply with is expected in this case. In this scenarios, the bot does not merge alone we need to force |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: camilamacedo86, everettraven, rashmigottipati The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/test pull-kubebuilder-e2e-k8s-1-18-20 |
1 similar comment
/test pull-kubebuilder-e2e-k8s-1-18-20 |
…ensure backwords compability
76884fd
to
4015d37
Compare
New changes are detected. LGTM label has been removed. |
/hold |
I am closing this one and we can reopen if we check that we can move forward here. |
Description
IMPORTANT: The changes on the scaffolds to comply with the kustomize 4.x and remove what is deprecated must be done in the new kustomze/v2-alpha plugin (kubebuilder/pkg/plugins/common/kustomize/v2/) (examples as we did here)which will be used by a new golang plugin as go/v4-alpha. So that, we do not introduce breaking changes and do not affect those who scaffold the projects with Kubebuilder CLI 3.x and are trying to use its new versions. For further understanding of why it is required check the Plugin Versioning doc: https://book.kubebuilder.io/plugins/plugins-versioning.html
Motivation
Allow us to move forward and support Apple Silicon with go/v3 and kustomize/v1 without introducing breaking changes for those who scaffold the projects with old CLI versions.
BLOCKED BY
So, we cannot move forward with this one for safety and for not to risk introducing breaking changes for the projects which consume Kubebuilder as lib. See that the kustomize documentation about what should no longer work when we move from v3 to v4 is not very clear.