-
Notifications
You must be signed in to change notification settings - Fork 27
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 support for K8S Ingress resources #3
Comments
The only thing stopping me go down this road is I'm not sure how to refresh
the ingress controller when the certs are updated.
Do you know how that happens?
|
@alexcouper Something tells me that it depends on implementation. There are different types of ingress controllers available: GCE, Nginx. I think config reloading on certificate change should be part of their job and not this package. Alternatively, we could create new secret (in format |
true that would work. The other thing that had concerned me was not knowing how to route through to letsencrypt pod for some requests (like is done in nginx-ssl-proxy) - but I see now that this is entirely possible using the nginx ingress controller So in summary, go for it, looking forward to seeing the PR! |
👍 this would be awesome! |
I've was planning on building something quite similar to this so I used this is a starting point.
I'd be glad to contribute back some of what I've done if interested... My plans are to make this more dynamic such that on a service that you want to have SSL, simply add a label and it will dynamically get picked up and handled. |
@phutchins sounds fantastic. Please do contribute back and I'll happily test and merge. |
Part of this has been done in #13 (including the new data keys in the secret) |
Since Kubernetes release
1.2.0
, Ingress resources are supporting TLS. It would be great if this image would be compatible with Ingress.What needs to be done is to change secret data format to:
And response with
200
HTTP code when root URI (/
) is requested (for health checks).P.S. I will be happy to prepare a PR later today.
The text was updated successfully, but these errors were encountered: