Skip to content

Commit edcd478

Browse files
committed
debug
Signed-off-by: Jarno Rajahalme <[email protected]>
1 parent 2f107e4 commit edcd478

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

cilium/filter_state_cilium_policy.cc

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,16 @@ bool CiliumPolicyFilterState::enforcePodHTTPPolicy(const Network::Connection& co
117117
conn, pod_ip_, ingress_ ? "ingress" : "egress", verdict ? "ALLOW" : "DENY",
118118
proxy_id_, remote_id, port);
119119
return verdict;
120+
} else {
121+
ENVOY_CONN_LOG(debug,
122+
"cilium.l7policy: Pod {} HTTP {} policy cache MISS "
123+
"(version: {}/{}, id: {}/{}, port: {}/{}), not skipping.",
124+
conn, pod_ip_, ingress_ ? "ingress" : "egress", version, policy_cache.version_,
125+
remote_id, policy_cache.identity_, port, policy_cache.port_);
120126
}
127+
} else {
128+
ENVOY_CONN_LOG(debug, "cilium.l7policy: Pod {} HTTP {} policy has HTTP rules, not skipping.",
129+
conn, pod_ip_, ingress_ ? "ingress" : "egress");
121130
}
122131

123132
bool verdict = port_policy.allowed(proxy_id_, remote_id, headers, log_entry);

0 commit comments

Comments
 (0)