Commit a2b2ffc8 authored by Geoff Simmons's avatar Geoff Simmons

Bugfix: Merge ignores Ingresses with the Varnish class annotation.

parent 4ef46aaa
...@@ -120,6 +120,9 @@ func (worker *NamespaceWorker) getIngsForVarnishSvc( ...@@ -120,6 +120,9 @@ func (worker *NamespaceWorker) getIngsForVarnishSvc(
} }
ings4Svc := make([]*extensions.Ingress, 0) ings4Svc := make([]*extensions.Ingress, 0)
for _, ing := range ings { for _, ing := range ings {
if !worker.isVarnishIngress(ing) {
continue
}
namespace := ing.Namespace namespace := ing.Namespace
if namespace == "" { if namespace == "" {
namespace = "default" namespace = "default"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment