Skip to content

The open-source agent harness - the runtime layer that turns an LLM into a working agent.

Make networkPolicy disabled by default

Chirag Jaind8de31c7c9ec
diff --git a/charts/trueforge/Chart.yaml b/charts/trueforge/Chart.yaml
index b7cf005b6..d1abde1bf 100644
--- a/charts/trueforge/Chart.yaml
+++ b/charts/trueforge/Chart.yaml
@@ -4,7 +4,7 @@ description: TrueForge server (API + UI) served from a single container image.
type: application
# version / appVersion are maintained on main (bot chart-release PR or human).
# Publishing is gated by git tag charts/trueforge@<version> (must match version).
-version: "0.2.1"
+version: "0.2.2"
appVersion: "0.2.1"
kubeVersion: ">=1.25.0-0"
home: https://truefoundry.com
diff --git a/charts/trueforge/values.yaml b/charts/trueforge/values.yaml
index f06c26e74..ff99c111f 100644
--- a/charts/trueforge/values.yaml
+++ b/charts/trueforge/values.yaml
@@ -171,15 +171,28 @@ configs:
# Empty = unrestricted. Matched against the ID token `email` claim.
allowedEmails: ""
# App-level outbound URL guard (MCP url / model-provider base_url). Not a K8s NetworkPolicy.
-# Behavior: see charts/trueforge/README.md (networkPolicy).
+# Full table: charts/trueforge/README.md (networkPolicy).
+#
+# enabled=false: guard skipped (all hosts allowed).
+# enabled=true: http(s) only; exact host match; blockedHosts before allowedHosts.
+# "default" = deny private/loopback/link-local/in-cluster; allow public.
+#
+# allowedHosts | blockedHosts | host a | host b | other (neither list)
+# ------------ | ------------ | ------ | ------ | --------------------
+# [] | [] | default| default| default
+# [] | [b] | default| denied | default
+# [a] | [] | allow* | default| default
+# [a] | [b] | allow* | denied | default
+# [a] | [a] | denied | default| default
+# * allow = allowed even if private / in-cluster.
networkPolicy:
- # Env: NETWORK_POLICY_ENABLED. Default true. Set false to skip the outbound URL guard.
- enabled: true
+ # Env: NETWORK_POLICY_ENABLED. Chart default false.
+ enabled: false
outbound:
- # Env: OUTBOUND_URL_ALLOWED_HOSTS (JSON string array). Empty = none.
+ # Env: OUTBOUND_URL_ALLOWED_HOSTS (JSON string array). Empty = no allowlist entries.
# Example: ["localhost", "127.0.0.1", "llm-gateway.internal"]
allowedHosts: []
- # Env: OUTBOUND_URL_BLOCKED_HOSTS (JSON string array). Empty = none.
+ # Env: OUTBOUND_URL_BLOCKED_HOSTS (JSON string array). Empty = no blocklist entries.
# Example: ["evil.example.com"]
blockedHosts: []
# Resource tier: small | medium | large presets for server and controller.