Add missing field
This commit is contained in:
parent
8f1ff15a6e
commit
d4fd127a1f
2 changed files with 3 additions and 0 deletions
|
@ -64,6 +64,7 @@ type Ingress struct {
|
||||||
ConfigurationSnippet string
|
ConfigurationSnippet string
|
||||||
CorsConfig cors.Config
|
CorsConfig cors.Config
|
||||||
DefaultBackend string
|
DefaultBackend string
|
||||||
|
Denied error
|
||||||
ExternalAuth authreq.Config
|
ExternalAuth authreq.Config
|
||||||
HealthCheck healthcheck.Config
|
HealthCheck healthcheck.Config
|
||||||
Proxy proxy.Config
|
Proxy proxy.Config
|
||||||
|
|
|
@ -478,6 +478,7 @@ func (n *NGINXController) getBackendServers(ingresses []*extensions.Ingress) ([]
|
||||||
loc.UpstreamVhost = anns.UpstreamVhost
|
loc.UpstreamVhost = anns.UpstreamVhost
|
||||||
loc.VtsFilterKey = anns.VtsFilterKey
|
loc.VtsFilterKey = anns.VtsFilterKey
|
||||||
loc.Whitelist = anns.Whitelist
|
loc.Whitelist = anns.Whitelist
|
||||||
|
loc.Denied = anns.Denied
|
||||||
|
|
||||||
if loc.Redirect.FromToWWW {
|
if loc.Redirect.FromToWWW {
|
||||||
server.RedirectFromToWWW = true
|
server.RedirectFromToWWW = true
|
||||||
|
@ -507,6 +508,7 @@ func (n *NGINXController) getBackendServers(ingresses []*extensions.Ingress) ([]
|
||||||
UpstreamVhost: anns.UpstreamVhost,
|
UpstreamVhost: anns.UpstreamVhost,
|
||||||
VtsFilterKey: anns.VtsFilterKey,
|
VtsFilterKey: anns.VtsFilterKey,
|
||||||
Whitelist: anns.Whitelist,
|
Whitelist: anns.Whitelist,
|
||||||
|
Denied: anns.Denied,
|
||||||
}
|
}
|
||||||
|
|
||||||
if loc.Redirect.FromToWWW {
|
if loc.Redirect.FromToWWW {
|
||||||
|
|
Loading…
Reference in a new issue