mirror of https://github.com/k3s-io/k3s
Merge pull request #72142 from hchenxa/hchenxa
only use system namespace when default backend not definedpull/564/head
commit
1d8960798b
|
@ -2308,7 +2308,7 @@ func (i *IngressDescriber) describeIngress(ing *extensionsv1beta1.Ingress, descr
|
|||
}
|
||||
w.Write(LEVEL_1, "%s\t\n", host)
|
||||
for _, path := range rules.HTTP.Paths {
|
||||
w.Write(LEVEL_2, "\t%s \t%s (%s)\n", path.Path, backendStringer(&path.Backend), i.describeBackend(ns, &path.Backend))
|
||||
w.Write(LEVEL_2, "\t%s \t%s (%s)\n", path.Path, backendStringer(&path.Backend), i.describeBackend(ing.Namespace, &path.Backend))
|
||||
}
|
||||
}
|
||||
if count == 0 {
|
||||
|
|
Loading…
Reference in New Issue