Skip to content
This repository has been archived by the owner on Aug 26, 2021. It is now read-only.

Does not work with the nginx-ingress-controller:0.9.0-betaX version #252

Closed
guizmaii opened this issue Sep 1, 2017 · 6 comments
Closed

Comments

@guizmaii
Copy link

guizmaii commented Sep 1, 2017

Hello,

Just to report that kube-lego seems not to work with the 0.9.0-betaX version of the Nginx Ingress.
The default certificate of the Nginx Ingress is never replaced by the fetched LetsEncrypt one.

capture d ecran 2017-09-01 12 11 52

@cguethle
Copy link

cguethle commented Sep 1, 2017

There have been ongoing issues with 0.9.0-beta with respect to certificates from kube-lego. Primarily, the nginx ingress requires a restart to load the newly secured cert. Have you tried restarting your ingress containers? What beta version are you working with? There have been numerous attempts to address it over the course of the beta version. Not sure if 12 is working yet or not.

@guizmaii
Copy link
Author

guizmaii commented Sep 1, 2017

I tested with the 0.9.0-beta12: not working.

Have you tried restarting your ingress containers? => No.
Nginx already reloads its configuration automatically (maybe because kube-lego asks, I don't know), no ? It's what I can observe with the 0.8.3 version of Nginx Ingress.

@aledbf
Copy link
Contributor

aledbf commented Sep 1, 2017 via email

@cguethle
Copy link

cguethle commented Sep 1, 2017

Nginx already reload its configuration automatically (maybe because kube-lego ask, I don't know), no ?

I believe this is where the failure is/has been.

@guizmaii
Copy link
Author

guizmaii commented Sep 1, 2017

Where are you running.and which kubernetes version you are using?

GKE with K8s 1.7.3

@munnerz
Copy link
Contributor

munnerz commented Sep 1, 2017

kube-lego itself does not 'tell' the ingress controller to reload it's config. It's the responsibility of nginx-ingress to watch the secrets referenced in Ingress resources for changes, and upon change, reload config.

It seems there was a regression somewhere in the nginx-ingress 0.9.0-betaX release cycle, which as far as I was aware was fixed, however perhaps not.

The corresponding issue on the nginx-ingress repository is here: kubernetes/ingress-nginx#1263

I'd suggest adding a comment to that Issue, and reopening it if it is re-occurring with the latest beta. I'm going to close this issue as it's not a bug on the kube-lego side of things, but thanks for reporting it anyway! 😄

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants