Skip to content

chore(helm): rename the gateway chart to openshell - #5823

Merged
SDAChess merged 2 commits into
mainfrom
chore/4554-helm-chart-rename/SDAChess
Nov 23, 2026
Merged

SDAChess merged 2 commits into
mainfrom
chore/4554-helm-chart-rename/SDAChess

Conversation

@SDAChess

@SDAChess SDAChess commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Helm derives the OCI artifact name from the chart name. The chart is published to oci://quay.io/ai-openshell/charts/openshell after the repository transfer, so this renames it from helm-chart to openshell and points the install instructions at the new location.

Draft until the transfer is done. It merges together with #5808, which pushes charts to Quay and reads the chart name from Chart.yaml. Without this rename, #5808 would push to charts/helm-chart, which does not exist on Quay. With this rename but without #5808, the current release action looks up helm-chart on GHCR and pushes the renamed chart to oci://ghcr.io/nvidia/openshell/openshell.

Stacked on #5822.

Merges in the same queue group as #5822, #5807, #5808, #5809.

Related Issue

Refs #4554

Changes

  • deploy/helm/openshell/Chart.yaml: name: openshell.
  • Chart README template and generated README, and the comment in ci/values-namespace-admin.yaml: oci://quay.io/ai-openshell/charts/openshell.
  • tests/tmachine/config.nix: the locally packaged chart is now openshell-0.0.0.tgz.
  • tasks/scripts/trivy-scan.sh: --chart-ref finds the local chart by the published chart name. A ref named helm-chart, as published by every release before the rename, now maps to the renamed openshell chart, so a release chart from before the rename is still compared with deploy/helm/openshell. tasks/scripts/trivy-scan-test.sh covers the old name, the new name and an unknown name.
  • tasks/scripts/trivy-scan.sh: Helm scans also set fullnameOverride=openshell. Trivy renders a chart with its chart name as the release name, and finding messages name the rendered resources, so the rename turned helm-chart-openshell into openshell and every existing finding looked new to the configuration diff. Pinning the name makes the reports independent of the chart name and matches the documented helm install openshell release. The shared Helm flags move from PREFLIGHT_OFF to HELM_SCAN_SETS.

Upgrade safety

values.yaml sets nameOverride: openshell, so openshell.name and openshell.fullname do not depend on .Chart.Name. A rendered diff of helm template before and after, for the defaults and ci/values-supervisor.yaml, changes only:

  • the helm.sh/chart label (helm-chart-0.0.0 to openshell-0.0.0, on 19 and 24 resources),
  • the # Source: comments,
  • the gateway config checksum annotation, because the ConfigMap's labels changed.

Resource names, selectors and app.kubernetes.io/name do not change, so helm upgrade of a release installed from helm-chart updates the same objects. The checksum change rolls the gateway pods once, which the image change in #5822 does anyway.

Release Notes

The OpenShell Helm chart is published as oci://quay.io/ai-openshell/charts/openshell. Existing releases installed from oci://ghcr.io/nvidia/openshell/helm-chart upgrade in place.

Testing

  • Checks appropriate to the affected code and behavior pass

  • Unit tests added/updated (if applicable)

  • E2E tests added/updated (if applicable)

  • helm lint with the defaults and every ci/values-*.yaml.

  • helm unittest: 499/499 and 7/7.

  • test-split-ownership.sh, test-gateway-resource-coherence.sh and test-supervisor-pool-scaling.sh.

  • The README matches helm-docs 1.14.2 output.

  • helm package deploy/helm/openshell writes openshell-0.0.0.tgz, the path tests/tmachine/config.nix now uses.

  • tasks/scripts/trivy-scan-test.sh passes, and fails with no chart under deploy/helm declares name 'helm-chart' without the mapping. shellcheck passes on both scripts.

  • trivy-scan.sh config on chore(images): default released images to quay.io/ai-openshell #5822 (as baseline, through TRIVY_SOURCE_ROOT) and on this branch, then gate-config-diff: "No new configuration findings at HIGH,CRITICAL." Without the pinned name, the same comparison reports the 21 findings CI showed.

Not verified: no real helm upgrade from a helm-chart release on a cluster, and no tmachine k3s run.

Checklist

  • Follows Conventional Commits
  • Commits are signed off (DCO)
  • Architecture docs updated (if applicable)

@github-actions github-actions Bot added the state:accepted A maintainer decided OpenShell should pursue this issue label Nov 20, 2026
TaylorMutch
TaylorMutch previously approved these changes Nov 20, 2026

@TaylorMutch TaylorMutch left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🥳 finally the chart name reflects the name

@SDAChess
SDAChess force-pushed the chore/4554-helm-chart-rename/SDAChess branch from a06396b to 450196a Compare November 23, 2026 08:57
@SDAChess SDAChess mentioned this pull request Nov 23, 2026
3 of 6 tasks
@SDAChess
SDAChess force-pushed the chore/4554-quay-image-defaults/SDAChess branch from c2638fe to 00334cd Compare November 23, 2026 08:58
@github-actions

Copy link
Copy Markdown

@SDAChess
SDAChess force-pushed the chore/4554-helm-chart-rename/SDAChess branch from 450196a to efe646e Compare November 23, 2026 09:19
Released gateway, supervisor and sandbox images move from
ghcr.io/nvidia/openshell to quay.io/ai-openshell with the repository
transfer. Point the gateway's built-in image defaults and the Helm
chart's image values at Quay.

The chart now splits the reference as registry quay.io and repository
ai-openshell/<name>, so a path-preserving mirror only needs
global.image.registry. The chart helpers that mirror the gateway's
built-in defaults change in the same commit as the Rust constants, so
Helm keeps omitting sandbox_runtime_image only when it matches what the
gateway would pick on its own.

Refs #4554

Signed-off-by: Simon Scatton <sscatton@nvidia.com>
@SDAChess
SDAChess force-pushed the chore/4554-quay-image-defaults/SDAChess branch from 00334cd to 11f3405 Compare November 23, 2026 09:22
@SDAChess
SDAChess force-pushed the chore/4554-helm-chart-rename/SDAChess branch from efe646e to 53c0815 Compare November 23, 2026 09:22
The chart is published to oci://quay.io/ai-openshell/charts/openshell
after the repository transfer, and Helm derives the OCI artifact name
from the chart name. Rename the chart from helm-chart to openshell and
point the install instructions at the new location.

values.yaml sets nameOverride to openshell, so resource names and
selectors do not depend on the chart name. Only the helm.sh/chart label
changes, which rolls the gateway pods once through the config checksum.

Refs #4554

Signed-off-by: Simon Scatton <sscatton@nvidia.com>
@SDAChess
SDAChess force-pushed the chore/4554-helm-chart-rename/SDAChess branch from 53c0815 to b052ad6 Compare November 23, 2026 09:27
@SDAChess
SDAChess changed the base branch from chore/4554-quay-image-defaults/SDAChess to main November 23, 2026 09:42
@SDAChess
SDAChess dismissed TaylorMutch’s stale review November 23, 2026 09:42

The base branch was changed.

@SDAChess
SDAChess marked this pull request as ready for review November 23, 2026 09:42
@SDAChess
SDAChess merged commit 05a9a0e into main Nov 23, 2026
94 of 95 checks passed
@SDAChess
SDAChess deleted the chore/4554-helm-chart-rename/SDAChess branch November 23, 2026 10:04
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.

3 participants