Skip to content

Commit 7ae4a08

Browse files
committed
.
1 parent 9a5688a commit 7ae4a08

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

code-interpreter/app/services/executor_kubernetes.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -182,11 +182,7 @@ def _create_pod_manifest(
182182
# executor container as well. This eliminates the race condition
183183
# where the pod can send network requests before the Kubernetes
184184
# NetworkPolicy is enforced by the CNI.
185-
iptables_script = (
186-
"set -e && "
187-
"iptables -A OUTPUT -j DROP && "
188-
"ip6tables -A OUTPUT -j DROP"
189-
)
185+
iptables_script = "set -e && iptables -A OUTPUT -j DROP && ip6tables -A OUTPUT -j DROP"
190186
network_lockdown_container = V1Container(
191187
name="network-lockdown",
192188
image=self.image,

0 commit comments

Comments
 (0)