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

Fixes panic on round tripper when TLS under a proxy #8896

Merged
merged 1 commit into from
May 19, 2016

Conversation

fabianofranz
Copy link
Member

@fabianofranz
Copy link
Member Author

[test]

@ncdc
Copy link
Contributor

ncdc commented May 16, 2016

I don't think this will make things any worse 😉

There needs to be a corresponding upstream pull to Kube and then this needs to turn into an UPSTREAM commit

@ncdc
Copy link
Contributor

ncdc commented May 16, 2016

@liggitt

@fabianofranz
Copy link
Member Author

@ncdc updated to UPSTREAM PR kubernetes/kubernetes#25690.

@openshift-bot
Copy link
Contributor

Evaluated for origin test up to 5c8e213

@openshift-bot
Copy link
Contributor

continuous-integration/openshift-jenkins/test SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pr_origin/3861/)

@liggitt
Copy link
Contributor

liggitt commented May 17, 2016

LGTM, would like a test. Did you sweep the generic proxy handler to make sure a similar fix is not needed?

@fabianofranz
Copy link
Member Author

@liggitt @ncdc Unfortunately I don't think this can be properly tested. I'd need a certificate from a trusted authority here, so that I could set clientTLS to nil in the test case to test if it would trust based on the system (instead of having to provide a RootCA). Do you foresee any other strategy?

@liggitt
Copy link
Contributor

liggitt commented May 18, 2016

I actually meant expecting an error rather than a panic

@fabianofranz
Copy link
Member Author

@liggitt Of course. You have to set clientTLS to nil in the test case to simulate this condition. It happens when you have a valid cert authority (so no explicit cert provided by config, nor insecure).

@fabianofranz
Copy link
Member Author

[merge]

@openshift-bot
Copy link
Contributor

openshift-bot commented May 19, 2016

continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/merge_pull_requests_origin/5947/) (Image: devenv-rhel7_4238)

@openshift-bot
Copy link
Contributor

Evaluated for origin merge up to 5c8e213

@openshift-bot openshift-bot merged commit 1559ae1 into openshift:master May 19, 2016
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