Fix nilpointer in admission and remove failing test (#7255)
* Fix nilpointer in admission when it was unable to validate default backend ingress Signed-off-by: Ricardo Pchevuzinske Katz <ricardo.katz@gmail.com> * Remove temporarily the slow shutdown tests Signed-off-by: Ricardo Pchevuzinske Katz <ricardo.katz@gmail.com>
This commit is contained in:
parent
2a190d2657
commit
39ace3176b
3 changed files with 8 additions and 10 deletions
|
|
@ -1654,6 +1654,10 @@ func ingressForHostPath(hostname, path string, servers []*ingress.Server) []*net
|
|||
continue
|
||||
}
|
||||
|
||||
if location.IsDefBackend {
|
||||
continue
|
||||
}
|
||||
|
||||
ingresses = append(ingresses, &location.Ingress.Ingress)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue