Added more logs in when applied firewall rules

This commit is contained in:
Paulo Nascimento
2021-03-20 17:40:14 -03:00
parent 3882d1baae
commit 12f8f60d8d
10 changed files with 624 additions and 3 deletions

View File

@@ -489,7 +489,7 @@ func (m *Mesh) applyTopology() {
m.errorCounter.WithLabelValues("apply").Inc()
return
}
ipRules := t.Rules(m.cni)
ipRules := t.Rules(m.cni, m.logger)
// If we are handling local routes, ensure the local
// tunnel has an IP address and IPIP traffic is allowed.
if m.enc.Strategy() != encapsulation.Never && m.local {