-
Notifications
You must be signed in to change notification settings - Fork 133
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
Change Leader Election Config Map for Chains Controller #1025
Conversation
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.
/kind bug
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, but this should be called out as a potentially breaking change in the release notes, since this will affect anyone relying on the previous behavior.
@wlynch given we did not ship the configmap at all in the chains release, do we think a lot of people relied on it ? |
Technically the feature has always existed because of our usage of the knative controller framework, but we never really advertised it. This is changing the default configmap that chains looks for, which would technically break anyone currently setting the existing default knative leader election configmap (which I assume is how @khrm discovered this). I agree its unlikely that many people were aware that this feature existed, which is why I'm fine with making the change even though it's potentially breaking. But we should update the PR description release notes with the change + instructions for how to revert back to the old behavior if needed. |
/kind feature |
Currently, the chains controller assumes config-leader-election configmap as the name for the leader election configmap. This is the default name for the Knative controllers' leader election configmap. If some other controllers also exist, it's a good practice to have a separate configmap for every controller.
db04dbc
to
f9ac3d2
Compare
@wlynch I have added the Breaking change note. And also updated the PR description. |
/kind remove bug |
@khrm: The label(s) 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/test-infra 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.
/remove-kind bug
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: lcarva, vdemeester 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 |
@wlynch, I think your comment was addressed, but before I add the lgtm label, I want to make sure you have a chance to take another look. |
Made some tweaks to the release note, but otherwise lgtm! /lgtm |
Dismissing because Billy has already mentioned LGTM above.
Currently, the chains controller assumes
config-leader-election
configmap as the name for the leader election configmap. This is the default name for the Knative controllers' leader election configmap. If some other controllers also exist, it's a good practice to have a separate configmap for every controller.Fixes #1024
Changes
Submitter Checklist
As the author of this PR, please check off the items in this checklist:
functionality, content, code)
Release Notes