-
Notifications
You must be signed in to change notification settings - Fork 51
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
KIC: Cleanup of old named resources #1819
Conversation
seems it fails due to something like this so we would need to use deselector |
/cc @RamLavi |
Not sure what you mean by "Delete release 0.94.0" |
it is very new and not released beside on upstream main if we don't delete it lifecycle fails #1818 (comment) since the kubevirt ipam controller component name was changed it leaves leftovers (details in the link above) |
It is not permitted to remove a supported release. Once it is tagged - you can't go back. |
CNAO API wasn't change, correct. This is a release on main branch which is unstable lets at least do the deselect and say remove support in release notes? Anyhow if you insist i will just do it, honestly it is overkill imho |
I disagree. Every release should be supported lifecycle-wize. main branch is theoretically unstable but it doesn't mean we get to break the lifecycle. This is precisely the reason the lane is there for. |
we even didn't even finish delivering the feature, the release was created only so HCO can consume anyhow as mentioned above, will just do that |
Done (added special remove), lets see it pass (didn't try locally) |
https://prow.ci.kubevirt.io/view/gs/kubevirt-prow/pr-logs/pull/kubevirt_cluster-network-addons-operator/1819/pull-e2e-cluster-network-addons-operator-lifecycle-k8s/1808100330181758976 will arrange the PR /hold cancel |
@RamLavi ptal if needed i can split this PR to 2 different PRs |
split the commits, this PR will be just the cleanup |
workflow fix |
why do we need to split? this commit has no place but after a new release was created. Am I missing something? |
the other way around |
oh I see then. |
/override pull-e2e-cluster-network-addons-operator-workflow-k8s |
@oshoval: Overrode contexts on behalf of oshoval: pull-e2e-cluster-network-addons-operator-workflow-k8s 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-sigs/prow repository. |
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.
code looks good! just needs to move to the right location
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.
missed something: please add the PR that renamed the objects on the commit desc.
Since Kubevirt ipam controller resource names were renamed [1] since 0.94.0, we introduce the special remove that in case the old named objects exist, will remove them. This allows the lifecycle lane to pass, as it checks for leftovers, which otherwise exists. [1] kubevirt#1816 Signed-off-by: Or Shoval <[email protected]>
done |
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
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: RamLavi 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 |
btw all those cleanups (not just this one) alternative is to not scan for this type of leftovers (but i guess it is less nice solution) |
The same logic needs to apply like the nmstate tests - if it should no longer be supported then we can remove the special clean. |
What this PR does / why we need it:
Since Kubevirt ipam controller resource names were renamed [1]
since 0.94.0, we introduce the special remove that in case the old named
objects exist, will remove them.
This allows the lifecycle lane to pass, as it checks for leftovers,
which otherwise exists.
[1] #1816
Special notes for your reviewer:
Release note: