You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 12, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Nov 12, 2026. It is now read-only.
AgentCardNetworkPolicy controller does not watch Sandbox workloads #341
The AgentCardNetworkPolicyReconciler watches Deployment and StatefulSet to create NetworkPolicies for workloads referenced by AgentCards. It does not watch Sandbox (agents.x-k8s.io/v1alpha1), so Sandbox-deployed agents don't get NetworkPolicies created.
Impact
Depending on the cluster's default network policy:
Default deny: Sandbox agents are unreachable — no ingress policy allows traffic to them
Default allow: Sandbox agents have no network segmentation — less secure than Deployment/StatefulSet agents
Required Changes
Add a conditional Watches call in SetupWithManager using SandboxCRDExists() guard
Use unstructured object with sandboxGVK
Map Sandbox events to AgentCard via mapWorkloadToAgentCard("agents.x-k8s.io/v1alpha1", "Sandbox")
Activity
feat: add Sandbox support to AgentCardSync, AgentCard, NetworkPolicy,…
feat: add Sandbox workload support to NetworkPolicy controller