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

use correct provider/class #313

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions pkg/provider/nginx/nginx.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,11 +120,9 @@ func (p *Nginx) updateIngress() error {
ing.Annotations = map[string]string{
kubelego.AnnotationIngressChallengeEndpoints: "true",
kubelego.AnnotationSslRedirect: "false",
// TODO: use the ingres class as specified on the ingress we are
// requesting a certificate for
kubelego.AnnotationIngressClass: p.kubelego.LegoDefaultIngressClass(),
kubelego.AnnotationIngressProvider: p.kubelego.LegoDefaultIngressProvider(),
kubelego.AnnotationWhitelistSourceRange: "0.0.0.0/0,::/0",
kubelego.AnnotationIngressClass: p.ingress.IngressClass(),
kubelego.AnnotationIngressProvider: p.ingress.IngressProvider(),
kubelego.AnnotationWhitelistSourceRange: "0.0.0.0/0,::/0",
}

ing.Spec = k8sExtensions.IngressSpec{
Expand Down