Skip to content

Commit 5f1d48a

Browse files
userclaude
andcommitted
fix(manifests): replace broken NetworkPolicy with proper platform ingress rules
The allow-from-runner-namespaces NP (#1553) uses podSelector: {} (all pods) but only permits ingress from runner pods, blocking OpenShift router traffic to the frontend and all other services. This caused outages on both Stage and UAT clusters. Replace with allow-platform-ingress that permits: - OpenShift router ingress (policy-group.network.openshift.io/ingress label) - Intra-namespace pod-to-pod traffic - Runner pod ingress from any namespace (original intent of #1553) 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent a7fe697 commit 5f1d48a

1 file changed

Lines changed: 13 additions & 8 deletions

File tree

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,20 @@
11
apiVersion: networking.k8s.io/v1
22
kind: NetworkPolicy
33
metadata:
4-
name: allow-from-runner-namespaces
4+
name: allow-platform-ingress
55
spec:
66
podSelector: {}
77
policyTypes:
8-
- Ingress
8+
- Ingress
99
ingress:
10-
- {}
11-
- from:
12-
- namespaceSelector: {}
13-
podSelector:
14-
matchLabels:
15-
app: ambient-code-runner
10+
- from:
11+
- namespaceSelector:
12+
matchLabels:
13+
policy-group.network.openshift.io/ingress: ""
14+
- from:
15+
- podSelector: {}
16+
- from:
17+
- namespaceSelector: {}
18+
podSelector:
19+
matchLabels:
20+
app: ambient-code-runner

0 commit comments

Comments
 (0)