Skip to content

Add NetworkPolicy examples and Helm chart templates for agent pods#55

Open
danielnyari wants to merge 1 commit into
mainfrom
claude/busy-goldberg
Open

Add NetworkPolicy examples and Helm chart templates for agent pods#55
danielnyari wants to merge 1 commit into
mainfrom
claude/busy-goldberg

Conversation

@danielnyari

@danielnyari danielnyari commented Feb 14, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add standalone NetworkPolicy YAML examples in docs/examples/networkpolicy/ covering default-deny, DNS, LLM provider egress, state backends, Kubernetes API server, and ingress from operator/server/Argo
  • Add parameterized Helm chart template (templates/agent/network-policy.yaml) with full networkPolicy.agent configuration in values.yaml
  • Exclude Helm chart template directories from check-yaml pre-commit hook since Go templates are not valid YAML

Test plan

  • helm template renders correctly with networkPolicy.agent.enabled=true
  • helm template renders correctly with all egress options enabled (kubeApiServer, stateBackends, CIDRs)
  • No output when networkPolicy.agent.enabled=false (default)
  • Full chart renders without errors
  • Verify NetworkPolicies work in a cluster with a CNI that supports them (Calico/Cilium)

Closes #48

🤖 Generated with Claude Code

…ent pods

Implements default-deny + allow-list network policies to secure agent pod
traffic following the principle of least privilege. Includes standalone
YAML examples in docs/examples/networkpolicy/ and parameterized Helm chart
templates with configurable ingress/egress rules in values.yaml.

Also excludes Helm chart template directories from the check-yaml pre-commit
hook since Go templates are not valid YAML.

Closes #48

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@danielnyari danielnyari changed the title Add Kubernetes NetworkPolicy examples and Helm chart templates for ag… Add NetworkPolicy examples and Helm chart templates for agent pods Feb 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Kubernetes NetworkPolicy examples for agent pods

1 participant