Skip to content

Commit 315cb82

Browse files
committed
chore(network): exempt gateway data-plane pods from NetworkPolicy
1 parent 4451bf5 commit 315cb82

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

charts/controller/files/network-policy-template.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
{
22
"spec": {
3-
"podSelector": {},
3+
"podSelector": {
4+
"matchExpressions": [
5+
{
6+
"key": "gateway.networking.k8s.io/gateway-name",
7+
"operator": "DoesNotExist"
8+
}
9+
]
10+
},
411
"policyTypes": [
512
"Ingress"
613
],

0 commit comments

Comments
 (0)