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

Unsupported ingress class #312

Open
Stono opened this issue Jan 25, 2018 · 1 comment
Open

Unsupported ingress class #312

Stono opened this issue Jan 25, 2018 · 1 comment

Comments

@Stono
Copy link

Stono commented Jan 25, 2018

Hey,
I use nginx-ingress in a couple of configurations, as such they have a custom class of nginx-internal and nginx-external.

I want to do kube-lego on the external ingress, but I'm getting:

time="2018-01-25T20:36:48Z" level=info msg="ignoring as unsupported ingress class 'nginx-external'. Did you you forget to specify LEGO_DEFAULT_INGRESS_CLASS ?" context=ingress name=at-consumer-platform-ingress-external namespace=default

My pod is configured with:

        env:
        - name: LEGO_SUPPORTED_INGRESS_CLASS
          value: nginx-external
        - name: LEGO_DEFAULT_INGRESS_CLASS
          value: nginx-external

So I'm not really sure what else I could do?
Thanks
Karl

@eversC
Copy link

eversC commented Jan 26, 2018

I remember running into this, does setting the following work?

in kube-lego env:

LEGO_DEFAULT_INGRESS_PROVIDER: nginx

and in the ingress you're trying to get it to work with (as an annotation):

kubernetes.io/ingress.provider: "nginx"

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

2 participants