Skip to content

feat(helm)!: require opt-in for gateway service routing - #5672

Merged
TaylorMutch merged 6 commits into
mainfrom
feat/5671-helm-service-routing-opt-in/TaylorMutch
Nov 19, 2026
Merged

TaylorMutch merged 6 commits into
mainfrom
feat/5671-helm-service-routing-opt-in/TaylorMutch

Conversation

@TaylorMutch

@TaylorMutch TaylorMutch commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Default Kubernetes Helm deployments to disabling gateway-mediated sandbox service routing, avoiding an unintended alternate application access path when operators use dedicated application ingress. The core runtime keeps its enabled default, preserving Docker, Podman, and VM behavior outside this chart.

Upgrade action: Helm installations relying on gateway service URLs must explicitly retain forwarding:

gatewayConfig:
  openshell.gateway:
    enable_gateway_service_routing: true

Based on main at 90e34ad10. This changes Helm behavior independently of gateway application authentication.

Related Issue

Closes #5671.

Changes

  • Render enable_gateway_service_routing = false by default, including saved values that omit the setting or set it to null; preserve explicit boolean choices.
  • Keep control-plane API access unchanged. Application-listener ingress and gateway application authentication remain independently configured.
  • Document that direct service ingress requires [openshell.supervisor.app_listener].enabled = true plus an ingress solution that routes discovered hostnames to the owning supervisor app-listener endpoint. Use base_url as the only application origin, with its domain derived automatically. Include the Helm/TLS configuration example, explicit gateway opt-in, and upgrade setting.
  • Cover the chart default, explicit opt-in, and omitted saved-value cases in chart tests.

Testing

  • Rebased onto main 90e34ad10 after feat(services): publish authoritative application origins #4956 merged. Each PR's patch is unchanged; stack ancestry and absence of Go/frozen Python SDK changes verified.
  • Helm follow-up: 499 gateway-chart tests and seven workspace-chart tests passed, including rendered TOML/runtime validation, chart consistency, ownership, and supervisor scaling checks.
  • Generated Helm documentation and Markdown/MDX lint passed.

No live-cluster E2E was rerun for this rebase. Current-head GitHub CI is pending.

Release Notes

Kubernetes Helm deployments now require an explicit opt-in for gateway-mediated sandbox service URLs and HTTP/WebSocket forwarding. Set gatewayConfig."openshell.gateway".enable_gateway_service_routing: true before upgrading if you rely on that path. The core and non-Kubernetes defaults are unchanged.

@copy-pr-bot

copy-pr-bot Bot commented Nov 17, 2026

Copy link
Copy Markdown

Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually.

Contributors can view more details about this message here.

@github-actions github-actions Bot added the state:accepted A maintainer decided OpenShell should pursue this issue label Nov 17, 2026
@github-actions

Copy link
Copy Markdown

@TaylorMutch
TaylorMutch force-pushed the feat/5671-helm-service-routing-opt-in/TaylorMutch branch from c6e1b4f to f947299 Compare November 18, 2026 05:50
@TaylorMutch
TaylorMutch force-pushed the feat/4953-authoritative-app-urls/TaylorMutch branch 2 times, most recently from 1e069a1 to 5500740 Compare November 18, 2026 20:14
@TaylorMutch
TaylorMutch force-pushed the feat/5671-helm-service-routing-opt-in/TaylorMutch branch 2 times, most recently from 218251a to 89d6566 Compare November 19, 2026 00:08
@TaylorMutch
TaylorMutch force-pushed the feat/4953-authoritative-app-urls/TaylorMutch branch from 5500740 to f8d1af1 Compare November 19, 2026 00:08
@TaylorMutch
TaylorMutch force-pushed the feat/5671-helm-service-routing-opt-in/TaylorMutch branch from 89d6566 to 8be9e6c Compare November 19, 2026 18:01
@TaylorMutch
TaylorMutch force-pushed the feat/4953-authoritative-app-urls/TaylorMutch branch from f8d1af1 to 70d7bdc Compare November 19, 2026 18:01
Base automatically changed from feat/4953-authoritative-app-urls/TaylorMutch to main November 19, 2026 18:41
BREAKING CHANGE: Helm installations relying on gateway service URLs must explicitly set gatewayConfig."openshell.gateway".service_routing_enabled to true before upgrading. Core and non-Kubernetes defaults remain unchanged.

Signed-off-by: Taylor Mutch <[email protected]>
@TaylorMutch
TaylorMutch force-pushed the feat/5671-helm-service-routing-opt-in/TaylorMutch branch from 8be9e6c to 443fc7d Compare November 19, 2026 18:51
@TaylorMutch
TaylorMutch marked this pull request as ready for review November 19, 2026 18:52
@github-actions

Copy link
Copy Markdown

Compatibility review (advisory)

New or updated breaking changes; see the full report for all findings.

1. helm — No explicit risk acceptance found

The Experimental Helm chart changes gatewayConfig."openshell.gateway".enable_gateway_service_routing from an implicit true default to false, including saved values that omit the setting.

  • Impact: Existing Helm deployments relying on the default lose gateway service URL publication and receive HTTP 404 for gateway-mediated sandbox HTTP requests and WebSocket upgrades.
  • Action: Before upgrading a Helm installation that relies on gateway service URLs, explicitly set gatewayConfig."openshell.gateway".enable_gateway_service_routing: true.
  • PR: feat(helm)!: require opt-in for gateway service routing #5672
Review details
  • Execution: complete
  • Candidate: PR #5672 (b7d1ffb7814170b67c08f18dc4a4a0d66062eec3)
  • Baseline: 90e34ad10e42c8ef76e33f913ec485dc9196f5a7 (90e34ad10e42c8ef76e33f913ec485dc9196f5a7)
  • Reviewed: rust-sdk, python-sdk, typescript-sdk, api-behavior, cli, configuration, policy, helm, state

Advisory review; publication gates are unchanged.

Branch check run

pimlock
pimlock previously approved these changes Nov 19, 2026
Comment thread deploy/helm/openshell/values.yaml Resolved
@TaylorMutch
TaylorMutch added this pull request to the merge queue Nov 19, 2026
Merged via the queue into main with commit 7c8e018 Nov 19, 2026
93 checks passed
@TaylorMutch
TaylorMutch deleted the feat/5671-helm-service-routing-opt-in/TaylorMutch branch November 19, 2026 22:10
cv added a commit to NVIDIA/NemoClaw that referenced this pull request Nov 24, 2026
)

Moves NemoClaw's OpenShell pins from v0.1.9 to v0.1.10, whose project
moved to `ai-openshell/openshell` and publishes its images and chart on
Quay, upgrades the bundle's OpenTofu to 1.13.10, and updates Rust crates
within the workspace's constraints. A managed `kubernetes` or
`openshift` gateway now reports no sandbox service URLs, because the
v0.1.10 chart turns off gateway service routing.

## Problem

NemoClaw pins OpenShell v0.1.9 (`ce58cf8`). v0.1.10 (`152c59d`) is the
latest release, and it changes what NemoClaw pins and how a Kubernetes
gateway behaves:

- The repository moved from `NVIDIA/OpenShell` to
`ai-openshell/openshell`. The gateway, supervisor and sandbox images and
the chart publish to `quay.io/ai-openshell`, the chart is renamed
`oci://quay.io/ai-openshell/charts/openshell`, and GHCR has no 0.1.10
tags.
- The chart sets `enable_gateway_service_routing: false`
(ai-openshell/openshell#5672), so a Helm gateway publishes no
gateway-routed service URLs.
- `openshell-policy`'s `PolicyViolation` gained five Cedar and
endpoint-settings variants, so NemoClaw's exhaustive description of
OpenShell's violations no longer compiles.
- OpenShell now refreshes an expired policy DNS mapping before
connecting (ai-openshell/openshell#5650), which removes the limit that
an OpenClaw agent's model request failed after a DNS answer's TTL.

OpenTofu 1.13.10 is a patch release built with Go 1.27.4 for
GO-2026-6859.

## Change

- **Pins:** the Cargo source and revision of `openshell-core`,
`openshell-sdk` and `openshell-policy`, and of the vendored SDK's
`openshell-core` and `openshell-crypto`; in `versions.json`, the
version, revision, Linux CLI archives, the Quay gateway, supervisor and
sandbox images, and the renamed chart; the managed-gateway reference, a
contract test and the gateway contract module, which carry the image
digests. The CLI checksums come from the release's
`openshell-checksums-sha256.txt`, and the image and chart digests from
Quay's `0.1.10` tags; GHCR's `0.1.9` tags match the previous pins. The
OpenTofu checksums come from its GPG-signed `SHA256SUMS`.
- **Vendored SDK:** upstream changed `src/client.rs`, `src/types.rs`
(the new `application_service_urls` and `gateway_service_urls`) and
`tests/client_mock.rs`, copied unchanged. The SDK manifest still enables
`openshell-core`'s default features, including telemetry, so the
manifest patch stays; `NOTICE.md` records the new source and revision.
The SDK integration limits in `internal-docs/design/architecture.md`
still hold at v0.1.10 and cite that revision.
- **Policy violations:** NemoClaw describes the five new violations.
NemoClaw writes no Cedar policy or `endpoint_settings`, so none of them
arises from a NemoClaw document.
- **Service URLs on Kubernetes:** NemoClaw leaves the chart's default.
The Kubernetes guide says a managed gateway reports no service URLs and
how to turn routing on with `enable_gateway_service_routing: true` in
`spec.gateway.config`, which passes through to the chart; the
external-ingress guidance and the limit for #14316 say the same. The
fake gateway in the test fixtures reports each URL as gateway-routed, as
a Docker gateway does.
- **Limits:** the DNS TTL limit is removed.
- **Docs:** OpenShell links move to `ai-openshell/openshell` at v0.1.10;
each path and anchor exists there, and the three configuration line
ranges in the sandbox network guide move to the same text.
- **Rust crates:** `cargo update`. `url` 2.5.9 now percent-encodes `^`
in a path, as WHATWG's URL standard does, so an MCP endpoint whose path
holds `^` passed NemoClaw's check; the existing
`mcp_endpoints_reject_paths_openshell_rewrites_before_matching` test
failed, and NemoClaw now checks the URL as written.
- **Release notes:** the v0.1.10 changes users see, and the service URL
change as a breaking change.

## OpenShell 0.1.10 Changes Checked

| Change | Decision |
|---|---|
| Registry and chart move, repository transfer
(ai-openshell/openshell#5822, ai-openshell/openshell#5823,
ai-openshell/openshell#5833) | Followed in every pin and link. |
| Helm service routing off by default (ai-openshell/openshell#5672) |
Kept OpenShell's default and documented the setting; NemoClaw doesn't
override chart defaults it doesn't own. |
| Application origins, `domain` → `base_url`
(ai-openshell/openshell#4956) | No change: NemoClaw sets no app
listener, and apply reports OpenShell's preferred `url`, which stays the
gateway URL when no origin is configured. |
| TypeScript SDK move (ai-openshell/openshell#5685) | No change:
NemoClaw uses the Rust SDK. |
| Kubernetes 1.33 minimum tested (ai-openshell/openshell#5646) | No
change: CI's kind node runs 1.37, and OpenShell still tests Agent
Sandbox 1.0.3. |
| Policy DNS TTL refresh (ai-openshell/openshell#5650) | Removed the
limit; NemoClaw had no workaround. |
| Sandbox restart `ContainerExited`, same-name recreate on Kubernetes,
multi-replica fixes, IPv6, process limits and signals, idle-connection
and 502 fixes | No NemoClaw code works around them; listed in the
release notes. |
| Docker persistent `/sandbox` and image updates of a stopped sandbox
(ai-openshell/openshell#5617) | Not adopted here: it needs
`enable_sandbox_updates` and `persist_workspace`, applies only to new
workspaces, and requires a numeric `USER` in the image, so it is a
feature change of its own. |
| Workspace secrets, GitHub App tokens, SPIFFE broker, OAuth
`client_secret_basic` and `resource`, `/**` path templates, OTLP
metrics, audit records, IPv6 listeners, supervisor pool sizing | Gateway
or provider settings that `spec.gateway.config` or operator-managed
providers can set; NemoClaw adds no wrapper. |
| `openshell policy lint` (ai-openshell/openshell#5358) | No change:
NemoClaw validates policies in-process with `openshell-policy`. |
| Cedar policies | Development builds only; no change. |
| OpenShift UID and `fsGroup` (ai-openshell/openshell#5483) | Still
open, so the `openshift` target keeps nulling the chart's IDs. |
| Gateway restart leaves sandboxes in `Error`
(ai-openshell/openshell#4910) | Still open; the limit stays. |

## Other Pins

- NeMo Fabric is already at its latest release, v0.7.0, and its OpenClaw
adapter supports only OpenClaw 2026.9.34 and its Hermes adapter Hermes
v0.22.7, so the harness images stay; Fabric owns the harness versions
its adapters support.
- The Docker and Helm providers, kind, nextest, Protocol Buffers, Rust
and vLLM are at their latest releases.
- Container base images, Bun, uv and Ollama move in a stacked pull
request, which needs image builds of its own.
- llama.cpp's server image and the NIM image stay: each update needs its
own notices and a GPU run.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

state:accepted A maintainer decided OpenShell should pursue this issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(helm): disable gateway service routing by default on Kubernetes

2 participants