@@ -47,7 +47,7 @@ class TestEgressSidecarViaApply:
4747
4848 def test_builds_container_with_basic_config (self ):
4949 """Test that container is built with correct basic configuration."""
50- egress_image = "opensandbox/egress:v1.0.10 "
50+ egress_image = "opensandbox/egress:v1.0.11 "
5151 network_policy = NetworkPolicy (
5252 default_action = "deny" ,
5353 egress = [
@@ -64,7 +64,7 @@ def test_builds_container_with_basic_config(self):
6464
6565 def test_contains_egress_rules_environment_variable (self ):
6666 """Test that container includes OPENSANDBOX_EGRESS_RULES environment variable."""
67- egress_image = "opensandbox/egress:v1.0.10 "
67+ egress_image = "opensandbox/egress:v1.0.11 "
6868 network_policy = NetworkPolicy (
6969 default_action = "deny" ,
7070 egress = [NetworkRule (action = "allow" , target = "example.com" )],
@@ -80,7 +80,7 @@ def test_contains_egress_rules_environment_variable(self):
8080 assert env_vars [1 ]["value" ] == EGRESS_MODE_DNS
8181
8282 def test_contains_egress_token_when_provided (self ):
83- egress_image = "opensandbox/egress:v1.0.10 "
83+ egress_image = "opensandbox/egress:v1.0.11 "
8484 network_policy = NetworkPolicy (
8585 default_action = "deny" ,
8686 egress = [NetworkRule (action = "allow" , target = "example.com" )],
@@ -97,7 +97,7 @@ def test_contains_egress_token_when_provided(self):
9797 assert env_vars [EGRESS_MODE_ENV ] == EGRESS_MODE_DNS
9898
9999 def test_egress_mode_dns_nft (self ):
100- egress_image = "opensandbox/egress:v1.0.10 "
100+ egress_image = "opensandbox/egress:v1.0.11 "
101101 network_policy = NetworkPolicy (
102102 default_action = "deny" ,
103103 egress = [NetworkRule (action = "allow" , target = "example.com" )],
@@ -114,7 +114,7 @@ def test_egress_mode_dns_nft(self):
114114
115115 def test_serializes_network_policy_correctly (self ):
116116 """Test that network policy is correctly serialized to JSON."""
117- egress_image = "opensandbox/egress:v1.0.10 "
117+ egress_image = "opensandbox/egress:v1.0.11 "
118118 network_policy = NetworkPolicy (
119119 default_action = "deny" ,
120120 egress = [
@@ -139,7 +139,7 @@ def test_serializes_network_policy_correctly(self):
139139
140140 def test_handles_empty_egress_rules (self ):
141141 """Test that empty egress rules are handled correctly."""
142- egress_image = "opensandbox/egress:v1.0.10 "
142+ egress_image = "opensandbox/egress:v1.0.11 "
143143 network_policy = NetworkPolicy (
144144 default_action = "allow" ,
145145 egress = [],
@@ -155,7 +155,7 @@ def test_handles_empty_egress_rules(self):
155155
156156 def test_handles_missing_default_action (self ):
157157 """Test that missing default_action is handled (exclude_none=True)."""
158- egress_image = "opensandbox/egress:v1.0.10 "
158+ egress_image = "opensandbox/egress:v1.0.11 "
159159 network_policy = NetworkPolicy (
160160 egress = [NetworkRule (action = "allow" , target = "example.com" )],
161161 )
@@ -170,7 +170,7 @@ def test_handles_missing_default_action(self):
170170
171171 def test_security_context_adds_net_admin_not_privileged (self ):
172172 """Egress sidecar uses NET_ADMIN only (IPv6 is disabled in execd init when egress is on)."""
173- egress_image = "opensandbox/egress:v1.0.10 "
173+ egress_image = "opensandbox/egress:v1.0.11 "
174174 network_policy = NetworkPolicy (
175175 default_action = "deny" ,
176176 egress = [],
@@ -184,14 +184,14 @@ def test_security_context_adds_net_admin_not_privileged(self):
184184
185185 def test_no_command_uses_image_entrypoint (self ):
186186 container = _egress_container (
187- "opensandbox/egress:v1.0.10 " ,
187+ "opensandbox/egress:v1.0.11 " ,
188188 NetworkPolicy (default_action = "deny" , egress = []),
189189 )
190190 assert "command" not in container
191191
192192 def test_container_spec_is_valid_kubernetes_format (self ):
193193 """Test that returned container spec is in valid Kubernetes format."""
194- egress_image = "opensandbox/egress:v1.0.10 "
194+ egress_image = "opensandbox/egress:v1.0.11 "
195195 network_policy = NetworkPolicy (
196196 default_action = "deny" ,
197197 egress = [NetworkRule (action = "allow" , target = "example.com" )],
@@ -212,7 +212,7 @@ def test_container_spec_is_valid_kubernetes_format(self):
212212
213213 def test_handles_wildcard_domains (self ):
214214 """Test that wildcard domains in egress rules are handled correctly."""
215- egress_image = "opensandbox/egress:v1.0.10 "
215+ egress_image = "opensandbox/egress:v1.0.11 "
216216 network_policy = NetworkPolicy (
217217 default_action = "deny" ,
218218 egress = [
@@ -254,7 +254,7 @@ def test_adds_egress_sidecar_container(self):
254254 default_action = "deny" ,
255255 egress = [NetworkRule (action = "allow" , target = "example.com" )],
256256 )
257- egress_image = "opensandbox/egress:v1.0.10 "
257+ egress_image = "opensandbox/egress:v1.0.11 "
258258
259259 apply_egress_to_spec (
260260 containers ,
@@ -273,7 +273,7 @@ def test_does_not_touch_unrelated_pod_state(self):
273273 default_action = "deny" ,
274274 egress = [NetworkRule (action = "allow" , target = "example.com" )],
275275 )
276- egress_image = "opensandbox/egress:v1.0.10 "
276+ egress_image = "opensandbox/egress:v1.0.11 "
277277
278278 apply_egress_to_spec (
279279 containers ,
@@ -298,7 +298,7 @@ def test_preserves_existing_pod_sysctls_when_not_passed_in(self):
298298 default_action = "deny" ,
299299 egress = [NetworkRule (action = "allow" , target = "example.com" )],
300300 )
301- egress_image = "opensandbox/egress:v1.0.10 "
301+ egress_image = "opensandbox/egress:v1.0.11 "
302302
303303 apply_egress_to_spec (
304304 containers ,
@@ -320,7 +320,7 @@ def test_no_op_when_no_network_policy(self):
320320 apply_egress_to_spec (
321321 containers ,
322322 None ,
323- "opensandbox/egress:v1.0.10 " ,
323+ "opensandbox/egress:v1.0.11 " ,
324324 )
325325
326326 assert len (containers ) == 0
0 commit comments