-
Notifications
You must be signed in to change notification settings - Fork 196
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
Fix upgrade deadlock in Pipeline and Triggers #592
Fix upgrade deadlock in Pipeline and Triggers #592
Conversation
The following is the coverage report on the affected files.
|
/hold |
0bbe19e
to
05aa7f8
Compare
The following is the coverage report on the affected files.
|
05aa7f8
to
f2bd245
Compare
/unhold |
The following is the coverage report on the affected files.
|
/hold cancel |
f2bd245
to
765f04e
Compare
The following is the coverage report on the affected files.
|
/approve |
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. |
765f04e
to
c9195a9
Compare
Add a mechanism to disable webhook validation if the configMaps are not already there in the cluster. What this patch does: when webhook endpoint slice is [], the "rules" section of config.webhook.** validatingwebhookconfiguration is remove. So that the updates on configMaps eg: config-defaults are not deadlocked. The dead lock is caused due to a cluster level cyclic dependency in tektoncd/pipelines and in tektoncd/triggers. More details will be captured in issues in the both repository. Note: infact this deadlock can occur in any tektoncd project which follows tektoncd/pipeline file list structure in `config/`. Signed-off-by: Nikhil Thomas <[email protected]>
c9195a9
to
234fb43
Compare
The following is the coverage report on the affected files.
|
The following is the coverage report on the affected files.
|
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.
SGTM 👍🏼
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
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: pradeepitm12, sm43, 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 |
Add a mechanism to disable webhook validation if the configMaps
are not already there in the cluster.
What this patch does: when webhook endpoint slice is [], the "rules" section of
config.webhook.**
validatingwebhookconfiguration
is remove. So that the updates on configMaps eg:config-defaults
are not deadlocked.The dead lock is caused due to a cluster level cyclic dependency in
tektoncd/pipelines and in tektoncd/triggers. More details will be captured in
issues in the both repository.
Note: infact this deadlock can occur in any tektoncd project which follows tektoncd/pipeline
file list structure in
config/
.Signed-off-by: Nikhil Thomas [email protected]
Changes
Submitter Checklist
These are the criteria that every PR should meet, please check them off as you
review them:
See the contribution guide for more details.
Release Notes