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

internal/e2e: add listener e2e test skeleton #227

Merged
merged 1 commit into from
Feb 7, 2018

Conversation

davecheney
Copy link
Contributor

This PR adds a scaffold for LDS tests. It uses the go-control-plane api
types to generate the configuration for the http connection manager. I
had initially decided not to use this method inside contour/listener.go
because of the barf worthy way of converting those types to a grpc
struct type.

For this e2e test I decided to use go-control-plane pkg's methods as a
way of double checking my hand rolled proto struct, I found a few small
errors which have been corrected in this PR, so it's good to double
check the data structures line up.

This PR adds a scaffold for LDS tests. It uses the go-control-plane api
types to generate the configuration for the http connection manager. I
had initially decided not to use this method inside contour/listener.go
because of the barf worthy way of converting those types to a grpc
struct type.

For this e2e test I decided to use go-control-plane pkg's methods as a
way of double checking my hand rolled proto struct, I found a few small
errors which have been corrected in this PR, so it's good to double
check the data structures line up.

Signed-off-by: Dave Cheney <dave@cheney.net>
@davecheney
Copy link
Contributor Author

/cc @sevein

@davecheney davecheney merged commit a5a2eae into projectcontour:master Feb 7, 2018
@davecheney davecheney deleted the lds-test branch February 7, 2018 23:14
sunjayBhatia pushed a commit that referenced this pull request Jan 30, 2023
HTTPSRoute does not exist as per [gateway API
docs](https://gateway-api.sigs.k8s.io/spec/#networking.x-k8s.io/v1alpha1.HTTPRoute).
For HTTPS protocol, `HTTPRoute` + `spec.tls` needs to be used.

Signed-off-by: Kenjiro Nakayama <nakayamakenjiro@gmail.com>
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