Create custom annotation for satisfy "value"

This commit is contained in:
Anthony Ho 2019-02-11 16:34:55 -05:00
parent 784d57ea69
commit ec04852526
9 changed files with 249 additions and 0 deletions

View file

@ -484,6 +484,7 @@ func (n *NGINXController) getBackendServers(ingresses []*ingress.Ingress) ([]*in
loc.BackendProtocol = anns.BackendProtocol
loc.CustomHTTPErrors = anns.CustomHTTPErrors
loc.ModSecurity = anns.ModSecurity
loc.Satisfy = anns.Satisfy
if loc.Redirect.FromToWWW {
server.RedirectFromToWWW = true
@ -526,6 +527,7 @@ func (n *NGINXController) getBackendServers(ingresses []*ingress.Ingress) ([]*in
BackendProtocol: anns.BackendProtocol,
CustomHTTPErrors: anns.CustomHTTPErrors,
ModSecurity: anns.ModSecurity,
Satisfy: anns.Satisfy,
}
if loc.Redirect.FromToWWW {