-
Notifications
You must be signed in to change notification settings - Fork 719
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
Update module sigs.k8s.io/controller-runtime to v0.12.0 #5662
Conversation
Breaking change: See kubernetes/kubernetes#107454 for migration steps. 06360dd puts the operator in version x+1: use configmapsleases for leader election, this client will use both configmaps and lease objects, so that new (x+1) client can work with old (x) clients. 74fcaa5 adds the RBAC permissions for |
@elasticmachine run elasticsearch-ci/docs |
Any reason not to use Leases, which are the default now?
Also likely need to test an upgrade to this version to ensure things transition smoothly with the locks... |
This is to provide at least one version of the operator with the transitional type of resource lock This can be a real problem depending on the version you are upgrading from. Currently, all operator versions only use This make me think that we may want to retain the intermediate type of lock (configmapsleases) for more than one version of the operator, if we want to maximize the number of users who will do the migration properly, as we cannot be sure that all of our users will upgrade to the next version. We could look at telemetry to help (e.g.: 95% of the users will install one of the next 3 versions.) |
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.
makes perfect sense @thbkrkr thanks!
* Update module sigs.k8s.io/controller-runtime to v0.12.0 * Run generate * Update Agent template hash in TestReconcileAgent_Reconcile * Use configmapsleases for leader election * RBAC permissions for coordination.v1/lease
This PR contains the following updates:
v0.11.2
->v0.12.1
Configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Renovate will not automatically rebase this PR, because other commits have been found.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.