Repository navigation
feat(kubernetes): let OpenShift assign the managed gateway's UID - #14014
Merged
Merged
Conversation
With runtime.provider: openshift, the gateway's chart values now set securityContext.runAsUser and podSecurityContext.fsGroup to null, as the chart's OpenShift install does, so restricted-v2 assigns the namespace's first UID and group. NemoClaw no longer waits for the namespace's UID range, records it in the receipt, refuses a changed range, or passes it through the auth resource's computed gateway_values output. kind assigns no fsGroup, so a managed openshift gateway can't read its 0400 signing key there; the kind three-agent test now deploys with kubernetes and still checks the UIDs OpenShell assigns from the range. Part of #13828.
|
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. |
Contributor
Resolve the conflicts with v1's moved tests and docs, and carry the change into what v1 added since the last merge: - The chart render test is now the openshell-provider contract module chart: its OpenShift scenario renders the nulls and expects no runAsUser or fsGroup, keeping runAsNonRoot. - The kind three-agent test is now the kind-openshift-oidc HCL case. It deploys with kubernetes, and the kind module annotates the namespace with the UID range its test file passes instead of keying on the runtime provider. - Drop gateway_values and openshift_wait from code v1 added: a provider unit test and hcl_live's Kubernetes operations. - Follow the moved docs, link the chart README at the pinned OpenShell revision, and fix the limits link from the Kubernetes guide. Co-Authored-By: Claude Opus 5.5 <[email protected]>
gaveezy
marked this pull request as ready for review
November 10, 2026 03:38
kind can't run a managed openshift gateway: the gateway gets its fsGroup only from OpenShift, and without one it can't read its signing key. So split the kind OpenShift case: - kind-openshift-oidc becomes kind-kubernetes-oidc. It keeps OIDC, the pull Secret and the namespace's UID range on kind, with the kubernetes profile. - openshift-oidc deploys the same agents with the openshift profile, and its test file supplies no UID range, since OpenShift writes it. - A case with an openshift gateway now gets the openshift placement, which no CI job runs, instead of kind; it runs by hand on OpenShift. - The live test guide says how to run it, the placement table gains the openshift row, and the Kubernetes guide and limits record that it ran by hand on one OpenShift Local 4.22.14 node (linux/amd64). Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Hai Nguyen <[email protected]>
Contributor
Author
Authoring session — opening
|
cv
added a commit
that referenced
this pull request
Nov 11, 2026
…ms (#14413) The release notes now list every user-visible change on `v1` since the `v0.1.0-rc9` tag, including the breaking ones, and four example pages drop claims that later changes made false. ## Problem `docs/about/release-notes.md` listed three breaking changes and none of the features, fixes, and onboarding changes that reached `v1` after `v0.1.0-rc9`; it didn't name the configuration shapes the parser now rejects or the intent record version `v0.1.0-rc9` writes. Some example claims went stale: - `examples/spark/README.md` said the pinned OpenShell has the Podman TLS initialization blocker, ai-openshell/openshell#3427; its fix merged before OpenShell 0.1.0, and `v1` pins 0.1.7. - `examples/station/README.md` and `examples/gtc-dc/README.md` required exactly one visible GPU on the host; since #13929, `container.gpuDevices` lets a service on a host with more GPUs request one. - `examples/hcl/travel-team` said Fabric's Deep Agents adapter can't turn reasoning off, NVIDIA/NeMo-Fabric#433; NVIDIA/NeMo-Fabric#439 fixed that, and the pinned catalog's Deep Agents `reasoning_effort` accepts `none`. - The travel team cited #13313 for the booking key its service doesn't receive, but #13313 closed when `openshell_api` landed. ## Change - `docs/about/release-notes.md` gains "Changes Since v0.1.0-rc9", grouped by area, from the commits in `v0.1.0-rc9..origin/v1`; where a later commit changed an earlier one, the entry describes the current code, and changes added and removed after the tag aren't listed: - Agents and interfaces: #14037, #14038, #14269, #13981, #14024, #14186, #14052, #14385, #13971, #13858, #13947, #14039, #14042, #14044, #14343. - Inference: #13929, #14391, #14396, #14398, #14400, #13963, #13912, #13964, #14388, #14390, #14397. - Gateways and Kubernetes: #13909, #13970, #13922 (an existing namespace, refused at plan by #13756, is now bound; cluster-wide reads dropped), #14014, #14169, #13921. - Plan, apply, and diagnostics: #14224, #13756, #14141, #14133, #14135, #13775, #13744, #13701. - Onboarding: #13693, #13695, #13741, #13757, #13851, #13978, #14228, #14233, #14334, #14336. - Examples and builds: #14166, #14184, #14188, #14191, #14192, #14200, #13889, #14267, #14312, #14315, #14355, b30e9b4, #13781, #13813, #14246, and the pins in `versions.json` and `image/fabric/Dockerfile`. - Its breaking changes since the tag: - the intent record moving from 15, which `v0.1.0-rc9` writes, through 16 (#14266), 17 (#14343), 18 (#13929), 19 (#14391) and 20 (#14394); - name-keyed `sandboxes` and `inferenceProviders` (#13703, #13705); - a recipe `compatibility.gpu` outside every hardware profile (#13912); - model tuning the adapter doesn't accept (#14111), and Hermes's `max_tokens` losing its default (#14296); - `skills.paths` resolution (#14296); - endpoint and `networkCIDR` validation (#13847, #14081); - the HCL `gateway_values` attribute (#14014), and Kubernetes ownership receipts from before #13922 and #14014. The two earlier items stay, under their own heading. - `examples/spark/README.md` replaces the closed OpenShell#3427 blocker with the Podman and remote-model limits in `docs/resources/limits.md`. - `examples/station/README.md` and `examples/gtc-dc/README.md` require one GPU visible in the model container, and point to `container.gpuDevices` for a host with more. - `examples/hcl/travel-team/README.md` and `WALKTHROUGH.md` drop the NeMo-Fabric#433 limitation, and the travel team's booking-key statements link #14417 instead of #13313. Not listed, because both changes landed after the tag: Deep Agents Code (#14043, #14250), `compatibility.gpuCount` (#14391, #14394), and the "Creating infrastructure state" progress step (#14169, #14248). Checked and left unchanged: the root `README.md`, `crates/nemoclaw-onboarding/README.md`, `crates/nemoclaw-cli/assets/README.md`, `internal-docs/README.md`, the other example READMEs, and every example YAML header comment. The GPU autoscaling README and `load.sh` read the JSON fields `OperationResult` serializes, and ai-openshell/openshell#4287 is fixed only after the pinned 0.1.7. The two pre-tag release-note items still match the schema and SDK. `docs/README.md` is left to #14412, which retires the stale field reference snapshot it describes. Not verified: whether Hermes sends the booking key's placeholder to MCP servers; #14417 tracks the live check. ## Beyond CI Each relative link and anchor in the changed files resolves to an existing file and heading.
3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
With
runtime.provider: openshift, a managed gateway's chart values now setsecurityContext.runAsUserandpodSecurityContext.fsGrouptonull, as the chart's OpenShift install does, so OpenShift'srestricted-v2constraint assigns the gateway the namespace's first UID and group. NemoClaw no longer waits for, records, or checks the namespace's UID range.Problem
On OpenShift, a managed gateway computed its own UID instead of leaving it to OpenShift (#13828):
openshift.io/sa.scc.uid-range. If it didn't appear, apply stopped with "OpenShift did not assign the namespace a UID range".gateway_valuesoutput, which the Helm release waited for.This repeats what
restricted-v2already does: it assigns those IDs to a pod that sets neither. The pinned chart (OpenShell 0.1.7) sets both to 1000, and its OpenShift install clears both withnullso OpenShift can assign them. cv's review of #13080 puts this choice in the chart, not in NemoClaw.Part of #13828, which stays open for the OpenShell request and the removal of
openshift. Part of #13837.Change
openshift, the gateway's literal chart values setsecurityContext.runAsUserandpodSecurityContext.fsGrouptonull.runAsNonRoot, the dropped capabilities, and seccomp stay. Kubernetes values don't change.namespaceIdentityand the range-change refusalgateway_valuesattribute ofopenshell_kubernetes_auth, sohelm_release.gatewayno longer depends on a computed valueinternal-docs/design/scope.mddoesn't require compatibility with earlier state formats. An OpenShift receipt that holdsnamespaceIdentityno longer loads. OpenTofu state that still holdsgateway_valuesshould load: when a resource's schema version is unchanged, OpenTofu 1.12.12 removes attributes the schema no longer has before decoding (internal/tofu/upgrade_resource_state.go). No run loaded such state.openshiftgateway can't run on kind. It gets itsfsGrouponly from OpenShift, and without one it can't read its signing key, which the chart mounts with mode 0400. So the kind OpenShift case splits in two:kind-openshift-oidcbecomeskind-kubernetes-oidc, which keeps OIDC, the pull Secret and the namespace's UID range on kind withkubernetes. The kind module takes that range as a variable instead of reading the runtime provider.openshift-oidcdeploys the same agents withopenshift, and its test file supplies no UID range, since OpenShift writes it. A case with anopenshiftgateway now gets anopenshiftplacement that no CI job runs, instead of kind; the live test guide says how to run it by hand.chartmodule's OpenShift scenario renders the pinned chart with the OpenShift values through the bundled Helm provider; the manifest has norunAsUserorfsGroupand keepsrunAsNonRoot: true.runtime.provider: openshiftstays the switch, and NemoClaw doesn't detect OpenShift. A new limits row says the switch is needed until the chart leaves these IDs to OpenShift by itself. Removing the value belongs to [OpenShift] Remove the null gateway UID and fsGroup override when the pinned OpenShell chart includes NVIDIA/OpenShell#5483 #13828's last step and to Select the gateway backend with one taggedtarget#13829.Beyond CI
openshift-oidcpassed by hand at 702fd76 on one OpenShift Local 4.22.14 node (CRC 2.64.0, linux/amd64), with Agent Sandbox 1.0.3: apply, a reply from each agent, an unchanged plan, and a destroy that kept only the gateway's storage, in 127 s.1000680000/10000, and admitted every pod underrestricted-v2.fsGroup, ran as UID 1000680000 withfsGroup1000680000 and didn't restart. Both sandboxes and their supervisors ran as the same UID.openshift-oidc.