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

Disable ThirdPartyController #14969

Conversation

enj
Copy link
Contributor

@enj enj commented Jun 29, 2017

This change makes it so that the third party resource controller does not run. This controller breaks the API's go-restful containers by removing handlers. The remove functionality is broken, and destroys the server mux when it is called.

Supersedes #14739
Fixes #14878

xref emicklei/go-restful/issues/344

@openshift/security

[test]

@enj
Copy link
Contributor Author

enj commented Jun 30, 2017

Flake #14897, tests are good otherwise. @deads2k @smarterclayton PTAL.

@deads2k
Copy link
Contributor

deads2k commented Jun 30, 2017

@enj there should be a list of disabled poststarthooks. Please use that instead.

@@ -84,7 +84,7 @@ var expectedIndex = []string{
"/healthz/ping",
"/healthz/poststarthook/bootstrap-controller",
"/healthz/poststarthook/ca-registration",
"/healthz/poststarthook/extensions/third-party-resources",
// "/healthz/poststarthook/extensions/third-party-resources", // Do not enable this controller, it breaks go-restful
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this comment

@enj enj force-pushed the enj/i/disable_third_party_controller/14739,14878 branch from 300961c to 7dbfc7f Compare June 30, 2017 15:16
@deads2k
Copy link
Contributor

deads2k commented Jun 30, 2017

squash and lgtm.

This change makes it so that the third party resource controller does
not run.  This controller breaks the API's go-restful containers by
removing handlers.  The remove functionality is broken, and destroys the
server mux when it is called.

Signed-off-by: Monis Khan <mkhan@redhat.com>
@enj enj force-pushed the enj/i/disable_third_party_controller/14739,14878 branch from 7dbfc7f to acd03a7 Compare June 30, 2017 15:23
@enj
Copy link
Contributor Author

enj commented Jun 30, 2017

[merge] comments addressed.

@openshift-bot
Copy link
Contributor

openshift-bot commented Jun 30, 2017

continuous-integration/openshift-jenkins/merge Waiting: You are in the build queue at position: 11

@openshift-bot
Copy link
Contributor

Evaluated for origin merge up to acd03a7

@openshift-bot
Copy link
Contributor

Evaluated for origin test up to acd03a7

@openshift-bot
Copy link
Contributor

continuous-integration/openshift-jenkins/test SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pull_request_origin/2877/) (Base Commit: 916ac6c) (PR Branch Commit: acd03a7)

@smarterclayton smarterclayton merged commit 052a564 into openshift:master Jun 30, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants