Fix default-backend annotation

This commit is contained in:
Manuel de Brito Fontes 2018-05-26 19:08:07 -04:00 committed by Manuel Alejandro de Brito Fontes
parent 15ffb51394
commit 2023e56115
No known key found for this signature in database
GPG key ID: 786136016A8BA02A
3 changed files with 62 additions and 1 deletions

View file

@ -21,6 +21,7 @@ import (
"github.com/imdario/mergo"
"k8s.io/ingress-nginx/internal/ingress/annotations/sslcipher"
apiv1 "k8s.io/api/core/v1"
extensions "k8s.io/api/extensions/v1beta1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
@ -72,7 +73,7 @@ type Ingress struct {
ConfigurationSnippet string
Connection connection.Config
CorsConfig cors.Config
DefaultBackend string
DefaultBackend *apiv1.Service
Denied error
ExternalAuth authreq.Config
HealthCheck healthcheck.Config