Fix nginx ingress variables for definitions without hosts
This commit is contained in:
parent
81bf8056da
commit
5df2951948
2 changed files with 58 additions and 1 deletions
|
|
@ -880,7 +880,12 @@ func getIngressInformation(i, h, p interface{}) *ingressInformation {
|
|||
continue
|
||||
}
|
||||
|
||||
if hostname != rule.Host {
|
||||
host := "_"
|
||||
if rule.Host != "" {
|
||||
host = rule.Host
|
||||
}
|
||||
|
||||
if hostname != host {
|
||||
continue
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue