Loading
Updated logic to enable/disable webhookException PeerAuthentication
General MR
Summary
- Removed logic around webhookException PeerAuthentication as it is needed for both Sidecar and Ambient Modes
- Added test-values for Ambient Mode for CI/CD Pipeline
Relevant logs/screenshots
The following settings need to be used to test:
istio:
ambient:
enabled: trueBefore Upgrade:
kubectl get pa -n monitoring
NAME MODE AGE
default-peer-auth STRICT 6m15s
monitoring-grafana-default-peer-auth STRICT 5m27skubectl logs -l app.kubernetes.io/name=ztunnel -n istio-system --tail 1000 | grep error
2026-06-25T15:53:43.021238Z error access connection complete src.addr=10.42.3.0:54244 dst.addr=10.42.2.9:10250 dst.service="monitoring-monitoring-kube-operator.monitoring.svc.cluster.local" dst.workload="monitoring-monitoring-kube-operator-6c7dcf4784-mxdpz" dst.namespace="monitoring" direction="inbound" bytes_sent=0 bytes_recv=0 duration="0ms" error="connection closed due to policy rejection: explicitly denied by: istio-system/istio_converted_static_strict"
2026-06-25T15:53:43.025964Z error access connection complete src.addr=10.42.3.0:54246 dst.addr=10.42.2.9:10250 dst.service="monitoring-monitoring-kube-operator.monitoring.svc.cluster.local" dst.workload="monitoring-monitoring-kube-operator-6c7dcf4784-mxdpz" dst.namespace="monitoring" direction="inbound" bytes_sent=0 bytes_recv=0 duration="0ms" error="connection closed due to policy rejection: explicitly denied by: istio-system/istio_converted_static_strict"
2026-06-25T15:53:43.044388Z error access connection complete src.addr=10.42.3.0:54250 dst.addr=10.42.2.9:10250 dst.service="monitoring-monitoring-kube-operator.monitoring.svc.cluster.local" dst.workload="monitoring-monitoring-kube-operator-6c7dcf4784-mxdpz" dst.namespace="monitoring" direction="inbound" bytes_sent=0 bytes_recv=0 duration="0ms" error="connection closed due to policy rejection: explicitly denied by: istio-system/istio_converted_static_strict"
2026-06-25T15:53:43.049980Z error access connection complete src.addr=10.42.3.0:54264 dst.addr=10.42.2.9:10250 dst.service="monitoring-monitoring-kube-operator.monitoring.svc.cluster.local" dst.workload="monitoring-monitoring-kube-operator-6c7dcf4784-mxdpz" dst.namespace="monitoring" direction="inbound" bytes_sent=0 bytes_recv=0 duration="0ms" error="connection closed due to policy rejection: explicitly denied by: istio-system/istio_converted_static_strict"Note
The error seems to show up more when more packages are enabled. I had Sonarqube enabled as part of this specific test.
After Upgrade:
kubectl get pa -n monitoring
NAME MODE AGE
default-peer-auth STRICT 12m
monitoring-grafana-default-peer-auth STRICT 12m
monitoring-webhook-exception STRICT 80sErrors no longer show up once PeerAuthentication is in place. The errors previously showed up every minute.
Linked Issue
Upgrade Notices
N/A
Edited by Jimmy Bourque