-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Different configmap for Leader Election per deployment #7014
Conversation
Can we include this in v0.50.x? |
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.
One comment, otherwise LGTM 👼🏼
cc @tektoncd/core-maintainers
we should change the name for pipelines-controller too, not use the default atleast |
2001eaa
to
e045c1c
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.
/retest
I just remember I need to update roles. That should fix the test failures. |
2e94e09
to
d5f6ee9
Compare
I have changed the config name for |
@vdemeester @lbernick @dibyom Can we get this merged? |
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.
Should we include this fix in 0.50.2? Without this fix, setting HA for pipelines controller is changing triggers, webhook, events and resolvers (if in same namespace) config also. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: JeromeJu, 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 |
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.
nit: I think this doc link needs to be updated?
Line 41 in fff25b1
Leader election can be configured in [config-leader-election.yaml](./../config/config-leader-election.yaml). The ConfigMap defines the following parameters: |
@khrm if you have a moment to update the docs, can review this in time for v0.52 release (added it to the milestone) 🙏🏾 |
@jerop It's quite late. I will update it tomorrow morning. |
no rush, moved it to the next milestone -- @pritidesai is cutting the release today |
Change configmap for leader election. This is so that we can apply changes per deployment. Also changed resolvers leader election name so that we can avoid conflict with controllers config if we install in same namespace.
d5f6ee9
to
89e82fd
Compare
/lgtm |
/cherry-pick release-v0.50.x |
@vdemeester: once the present PR merges, I will cherry-pick it on top of release-v0.50.x in a new PR and assign it to you. 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. |
@vdemeester: #7014 failed to apply on top of branch "release-v0.50.x":
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. |
This will update the name of the configmap responsible for controller to contain config of leader election Based on the PR on pipeline upstream tektoncd/pipeline#7014
This will update the name of the configmap responsible for controller to contain config of leader election Based on the PR on pipeline upstream tektoncd/pipeline#7014
This will update the name of the configmap responsible for controller to contain config of leader election Based on the PR on pipeline upstream tektoncd/pipeline#7014
This will update the name of the configmap responsible for controller to contain config of leader election Based on the PR on pipeline upstream tektoncd/pipeline#7014
This will update the name of the configmap responsible for controller to contain config of leader election Based on the PR on pipeline upstream tektoncd/pipeline#7014
Change configmap for leader election. This is so that we can apply changes per deployment. Also changed the resolvers leader election name so that we can avoid conflict with the controllers config if we install in the same namespace.
Fixes #6979
Changes
Submitter Checklist
As the author of this PR, please check off the items in this checklist:
/kind <type>
. Valid types are bug, cleanup, design, documentation, feature, flake, misc, question, tepRelease Notes
/kind bug