We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9a5688a commit 7ae4a08Copy full SHA for 7ae4a08
1 file changed
code-interpreter/app/services/executor_kubernetes.py
@@ -182,11 +182,7 @@ def _create_pod_manifest(
182
# executor container as well. This eliminates the race condition
183
# where the pod can send network requests before the Kubernetes
184
# 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
- )
+ iptables_script = "set -e && iptables -A OUTPUT -j DROP && ip6tables -A OUTPUT -j DROP"
190
network_lockdown_container = V1Container(
191
name="network-lockdown",
192
image=self.image,
0 commit comments