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

add http2 for insecure port #2

Merged
merged 1 commit into from
May 12, 2020

Conversation

peng09
Copy link
Collaborator

@peng09 peng09 commented May 12, 2020

The python grpc client does not support "InsecureSkipVerify" option according to grpc/grpc#10701. When we are trying to connect to ingress using grpc "insecure_channel", we will end up in connection issue like 'Trying to connect an http1.x server'.

What this PR does / why we need it:

This PR add an optional annotation for ingress, and if it is set to true, controller will render an extra 'http2' after 'listen 80' directive in nginx config.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Which issue/s this PR fixes

How Has This Been Tested?

Checklist:

  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I've read the CONTRIBUTION guide
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@draveness draveness merged commit d70ac95 into bytedance:master May 12, 2020
@draveness draveness deleted the support_http2_80_rebase branch May 12, 2020 06:59
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.

2 participants