Skip to content
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

🐛 Ensure that webhook server is thread/start-safe #1225

Merged
merged 1 commit into from
Nov 9, 2020

Conversation

adrianludwin
Copy link

This is a cherrypick of #1155 into the v0.6 branch. I tested it by importing this (modified) branch into HNC and verifying that it solved the problem (kubernetes-retired/multi-tenancy#1127).

Fixed #1172.

The original description follows:

This ensures that the webhook server is both threadsafe & "start-safe"
-- i.e. you can register webhooks after starting the server. While this
is generally not a common pattern, be allow runnables to be added to the
manager after start, so it makes sense to do the same with hooks & the
server.

This ensures that the webhook server is both threadsafe & "start-safe"
-- i.e. you can register webhooks after starting the server.  While this
is generally not a common pattern, be allow runnables to be added to the
manager after start, so it makes sense to do the same with hooks & the
server.
@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Oct 22, 2020
@k8s-ci-robot k8s-ci-robot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Oct 22, 2020
@adrianludwin adrianludwin changed the title 🐛 Ensure that webhook server is thread/start-safe Ensure that webhook server is thread/start-safe Oct 22, 2020
@adrianludwin
Copy link
Author

/assign @vincepri

@adrianludwin
Copy link
Author

Ping - can someone please approve this? Thanks!

@adrianludwin
Copy link
Author

/assign @DirectXMan12

?

@vincepri
Copy link
Member

vincepri commented Nov 9, 2020

/milestone v0.6.x

@k8s-ci-robot k8s-ci-robot added this to the v0.6.x milestone Nov 9, 2020
@vincepri
Copy link
Member

vincepri commented Nov 9, 2020

/lgtm
/assign @alvaroaleman @DirectXMan12

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Nov 9, 2020
@alvaroaleman
Copy link
Member

/retitle 🐛 Ensure that webhook server is thread/start-safe

@k8s-ci-robot k8s-ci-robot changed the title Ensure that webhook server is thread/start-safe 🐛 Ensure that webhook server is thread/start-safe Nov 9, 2020
@alvaroaleman
Copy link
Member

/approve

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: adrianludwin, alvaroaleman

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Nov 9, 2020
@k8s-ci-robot k8s-ci-robot merged commit b3d7cf1 into kubernetes-sigs:release-0.6 Nov 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants