-
Notifications
You must be signed in to change notification settings - Fork 39.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
Insecure backend proxy #83419
Insecure backend proxy #83419
Conversation
0b1d886
to
c19c11f
Compare
c19c11f
to
926dadd
Compare
926dadd
to
9581571
Compare
9581571
to
b855d99
Compare
This PR may require API review. If so, when the changes are ready, complete the pre-review checklist and request an API review. Status of requested reviews is tracked in the API Review project. |
/retest /assign @kubernetes/api-reviewers |
func MakeTransport(config *KubeletClientConfig) (http.RoundTripper, error) { | ||
tlsConfig, err := transport.TLSConfigFor(config.transportConfig()) | ||
// makeTransport creates a RoundTripper for HTTP Transport. | ||
func makeTransport(config *KubeletClientConfig, insecureSkipTLSVerify bool) (http.RoundTripper, error) { |
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.
I'd prefer you didn't make this private.
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.
I'd prefer you didn't make this private.
exposed as two explicit methods. MakeTransport
- creates a secure transport as before. MakeInsecureTransport
produces an insecure transport. The diff of diffs is clean: https://github.com/kubernetes/kubernetes/compare/b855d99d58397c4a8704091bf34b7ee7e2458c54..867ee1d5ff88b42261c1224813779a66318d70b2
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.
thanks
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
b855d99
to
867ee1d
Compare
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: deads2k, smarterclayton 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 |
/retest |
1 similar comment
/retest |
KEP kubernetes/enhancements#1261
This adds a podlogoptions value for skipping tls verification of kubelets.
/priority important-soon