-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Upgrade the version of the dependency controller-runtime from v0.1.10 to v0.2.0-beta.1
#1388
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
Upgrade the version of the dependency controller-runtime from v0.1.10 to v0.2.0-beta.1
#1388
Conversation
|
Hi @camilamacedo86. Thanks for your PR. I'm waiting for a operator-framework or openshift member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions 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. |
v0.1.10 to v0.2.0-alpha.0
v0.1.10 to v0.2.0-alpha.0 v0.1.10 to v0.2.0-alpha.0
|
@camilamacedo86: Cannot trigger testing until a trusted user reviews the PR and leaves an DetailsIn 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. |
lilic
left a comment
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.
Hey @camilamacedo86 👋 there is already an open PR to migrate to that release of controller-runtim #1369 so maybe we can sync there to see the difference between the work and maybe somehow combine it? :)
|
Hi @lilic, I checked the PR #1369 made by @corinnekrych. This PR shows missing changes and because of it is not passing the ansible as well. Also, she increases the version of Kube. This one here, shows be working very well but the go test is facing timeout which I am not sure if is related or not to the changes made here. @lilic @corinnekrych let's combine the forces? I will try to check the changes made by you and apply here too and I'll ping you tomorrow for we check how we can move together. :-) NOTE:
|
|
I'd rather wait for a v0.2.0 stable release. There's no urgency to upgrade for the next release. |
|
/ok-to-test |
Sorry to hear that, but we can't have a nonstable release of such a huge dependency in our project, as we do promise certain stability to our users. @camilamacedo86 we discussed this and we want to wait until Wednesday at least, we will know when the stable controller-runtime release will happen and we will get back to you then. But we would be happy to have this contribution! |
|
A couple of things before this is ready to be merged:
cc @joelanford @theishshah @shawn-hurley @hasbro17 @AlexNPavel |
|
Hi @lilic, Now all shows working fine here. The changes that need to be done by in the user's project from the latest version to this one is in the section break changes in the Changelog. See def0660 You added |
|
@camilamacedo86 Yes we have an issue open to update the migration guide, we put breaking changes in the CHANGELOG. And besides new files and commands added, there were not many major changes since 0.1.0 onwards but yes we need to update that in the near future. We can help with adding the migration guide no problem regarding that, but we agreed to not merge this until we add that to the PR cc @hasbro17 ^ The new stable release of controller-runtime will be before kubecon which is in 10 days time or so, according to yesterdays SIG meeting, so we should be able to merge that then. If this is delaying your progress on the operator you can create a branch on your fork with these changes and vendor that instead? Thanks again for this! cc @joelanford @shawn-hurley @theishshah @AlexNPavel @estroz Thoughts? ^ |
|
Hi @lilic, Really tks for all your support and help with this subject. No problem at all. Let's waiting for the release 👍 |
|
@camilamacedo86 FYI there was a new release. I would wait until next week before updating this PR, as I suspect there will be some more changes, but I believe that the maintainer wants to release it for kubecon which is next week. Thanks so much for working on this! https://github.com/kubernetes-sigs/controller-runtime/releases/tag/v0.2.0-beta.0 |
v0.1.10 to v0.2.0-alpha.0 v0.1.10 to v0.2.0-beta.1
|
Hi @camilamacedo86
From the operator-sdk point of view I am missing here the part of rbac roles that are created by the operator-sdk for watched namespaces. |
|
@camilamacedo86 Thanks for your hard work on this! I will have a test and play around with this today, and maybe we can start working on the migration guide. cc @joelanford In the mean time you have some failing tests, I will retest as the error is a bit odd. /retest |
|
/retest |
|
It looks like we won't be able to upgrade to $ dep ensure
$ make install
# github.com/operator-framework/operator-sdk/vendor/github.com/operator-framework/operator-lifecycle-manager/pkg/lib/operatorclient
vendor/github.com/operator-framework/operator-lifecycle-manager/pkg/lib/operatorclient/serviceaccount.go:38:2: not enough arguments to return
vendor/github.com/operator-framework/operator-lifecycle-manager/pkg/lib/operatorclient/serviceaccount.go:38:10: c.Core undefined (type *Client has no field or method Core)
make: *** [Makefile:46: install] Error 2This can be fixed by using |
|
OLM PR to bump kube deps: operator-framework/operator-lifecycle-manager#864 Edit: this has been merged. |
|
@camilamacedo86 #1512 has all the necessary code changes for the bump. I recommend merging https://github.com/estroz/operator-sdk/tree/bump-controller-runtime-v0.2.0 with your branch and pushing to this PR. Otherwise I can do the reverse with my branch and make #1512 the active bump PR. |
estroz
left a comment
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.
Quite a few changes still need addressing on top of those from comments here. See #1512.
|
Hi @estroz Really thank you for your help and support here. 👍 I rebase the commits in order to make easier we review and go forward as well. Also, I addressed all comments raised by you and I am working on in adding your changes and fixes from #1512 here. I understand that we need both, however, a direct merge/rebase will not work yet I will be solving/checking asap. |
|
@camilamacedo86 #1512 already passes CI, so we should defer to that as the main bump PR. Thanks again for submitting this PR! We appreciate the urgency, as this is a big but necessary change. |
|
Hi @estroz if you could add there what was made here as well is great !!. |
|
@camilamacedo86: The following tests failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. DetailsInstructions 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. I understand the commands that are listed here. |
Description of the change:
Changed
v0.1.10tov0.2.0-beta.1kubernetes-1.13.1tokubernetes-1.14.1b8a4faf68e36feb6d99a6aec623b405e587b17b1totag 0.10.10cf8f7e6ed1d2e3d47d02e3b6e559369af24d8dependency to a01b7d5d6c2258c80a4a10070f3dee9cd575d9c7Motivation for the change:
Address the commit kubernetes-sigs/controller-runtime@fc804a4
Progress
Working on in Rebase/Merge the changes/fixes from @estroz #1512