Fix overwrite of custom configuration
This commit is contained in:
parent
6b80ddaada
commit
50d4124d55
4 changed files with 4 additions and 4 deletions
|
|
@ -885,7 +885,7 @@ func (ic *GenericController) createServers(data []*extensions.Ingress,
|
|||
aliases := make(map[string]string, len(data))
|
||||
|
||||
bdef := ic.GetDefaultBackend()
|
||||
ngxProxy := &proxy.Configuration{
|
||||
ngxProxy := proxy.Configuration{
|
||||
BodySize: bdef.ProxyBodySize,
|
||||
ConnectTimeout: bdef.ProxyConnectTimeout,
|
||||
SendTimeout: bdef.ProxySendTimeout,
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@ func TestMergeLocationAnnotations(t *testing.T) {
|
|||
"Redirect": redirect.Redirect{},
|
||||
"Rewrite": rewrite.Redirect{},
|
||||
"Whitelist": ipwhitelist.SourceRange{},
|
||||
"Proxy": &proxy.Configuration{},
|
||||
"Proxy": proxy.Configuration{},
|
||||
"UsePortInRedirects": true,
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue