File tree Expand file tree Collapse file tree
kubernetes/code-interpreter Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1919 egress :
2020 {{- toYaml . | nindent 4 }}
2121 {{- end }}
22- ---
23- # NetworkPolicy for ephemeral executor pods spawned by the code-interpreter.
24- # These pods run user-submitted code and must be fully network-isolated
25- # to prevent data exfiltration and SSRF attacks.
26- apiVersion : networking.k8s.io/v1
27- kind : NetworkPolicy
28- metadata :
29- name : {{ include "code-interpreter.fullname" . }}-executor
30- labels :
31- {{- include "code-interpreter.labels" . | nindent 4 }}
32- spec :
33- podSelector :
34- matchLabels :
35- app : code-interpreter
36- component : executor
37- policyTypes :
38- - Ingress
39- - Egress
40- ingress :
41- # Allow exec connections from the code-interpreter service pod
42- - from :
43- - podSelector :
44- matchLabels :
45- {{- include "code-interpreter.selectorLabels" . | nindent 14 }}
46- egress : []
47- # Deny all egress — executor pods must not have network access
4822{{- end }}
Original file line number Diff line number Diff line change @@ -164,7 +164,7 @@ readinessProbe:
164164
165165# Network Policy
166166networkPolicy :
167- enabled : true
167+ enabled : false
168168 policyTypes :
169169 - Ingress
170170 - Egress
You can’t perform that action at this time.
0 commit comments