Skip to content

fix(e2e): keep locally built Kubernetes images off the chart's default registry - #3991

Merged
krishicks merged 1 commit into
mainfrom
hicks/push-lwlyvnynutpt
Sep 30, 2026
Merged

krishicks merged 1 commit into
mainfrom
hicks/push-lwlyvnynutpt

Conversation

@krishicks

@krishicks krishicks commented Sep 30, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Local Kubernetes e2e runs that build their own images fail at Helm install because the chart pulls ghcr.io/nvidia/openshell/* instead of the images imported into k3d. This is a regression from 679b190 (#3341), which added global.image.registry (ghcr.io/nvidia) as the fallback for empty per-image registries and split e2e image references into registry and repository. Locally built images such as openshell/gateway:<tag> have no registry host, so the chart rewrote them to ghcr.io/nvidia/openshell/gateway:<tag>.

Related Issue

No issue required: localized fix to the e2e wrapper.

Changes

  • Clear global.image.registry in the Kubernetes e2e wrapper's Helm image args. The wrapper sets every image's registry explicitly, so an empty per-image registry now means none.

Testing

  • mise run pre-commit passes

  • Unit tests added/updated

  • E2E tests added/updated (if applicable)

  • Rendered the chart with the wrapper's image args. With local tags, main rewrites the gateway, supervisor, and sandbox runtime images to ghcr.io/nvidia/openshell/*; with this change they keep their local names. CI-style ghcr.io/nvidia/openshell/* references render unchanged.

  • mise run e2e:kubernetes:workspace-operator without OPENSHELL_REGISTRY installs and passes (6/6). On main it fails at Helm install with an image pull error.

Checklist

…t registry

679b190 added global.image.registry (ghcr.io/nvidia) as the fallback for
empty per-image registries and split e2e image references into registry and
repository. Locally built images such as openshell/gateway:<tag> have no
registry host, so the chart rewrote them to ghcr.io/nvidia/openshell/* and
the k3d cluster could not pull them. Clear global.image.registry in the
Kubernetes e2e wrapper, which sets every image's registry explicitly.

Signed-off-by: Kris Hicks <khicks@nvidia.com>
@krishicks
krishicks force-pushed the hicks/push-lwlyvnynutpt branch from cf3662a to 1561589 Compare September 30, 2026 19:35
@krishicks
krishicks enabled auto-merge September 30, 2026 19:45
@krishicks
krishicks added this pull request to the merge queue Sep 30, 2026
Merged via the queue into main with commit 9912d21 Sep 30, 2026
72 checks passed
@krishicks
krishicks deleted the hicks/push-lwlyvnynutpt branch September 30, 2026 23:16
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.

2 participants