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/contour: initial SNI support #106

Merged
merged 1 commit into from Dec 15, 2017

Conversation

davecheney
Copy link
Contributor

@davecheney davecheney commented Dec 15, 2017

Updates #78

This is a alpha cut of ssl support using Envoy's SNI support. It is by no means complete, but it is usable for testing.

Testing notes

Deployment

You must use the deployment/deployment-grpc-v2 manifests. These are different to the quickstart manifests mentioned in the project README. SNI support requires switching to the grpc api, which will become the default for the 0.3 release.

TLS secrets

Like other ingress controllers, contour watches for secret objects that contain tls.crt and tls.key values. You will need to manually configure these secret objects on a per ingress basis or use something like kube-lego to generate them from Let's Encrypt.

Contour will work with kube-lego, but requires you to edit the ingress class on the ingress object that kube-lego creates to handle the authentication challenge.

kubectl -n kube-lego edit ing

and change kubernetes.io/ingress.class: nginx to kubernetes.io/ingress.class: contour so that Contour will see the additional ingress. You will need to repeat this frequently as kube-lego rewrites the ingress object and will overwrite your change.

Known issues

Signed-off-by: Dave Cheney dave@cheney.net

Signed-off-by: Dave Cheney <dave@cheney.net>
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.

None yet

1 participant