Skip to content

Commit 320e3ef

Browse files
authored
chore(images): default released images to quay.io/ai-openshell (#5822)
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>
1 parent 27a8c09 commit 320e3ef

9 files changed

Lines changed: 38 additions & 40 deletions

File tree

‎crates/openshell-core/src/config.rs‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -156,10 +156,10 @@ impl FromStr for PolicyValidationFailureMode {
156156
}
157157

158158
/// Default OCI repository for the supervisor image (no tag).
159-
pub const DEFAULT_SUPERVISOR_IMAGE_REPO: &str = "ghcr.io/nvidia/openshell/supervisor";
159+
pub const DEFAULT_SUPERVISOR_IMAGE_REPO: &str = "quay.io/ai-openshell/supervisor";
160160

161161
/// Default OCI repository for the sandbox runtime image (no tag).
162-
pub const DEFAULT_SANDBOX_RUNTIME_IMAGE_REPO: &str = "ghcr.io/nvidia/openshell/sandbox";
162+
pub const DEFAULT_SANDBOX_RUNTIME_IMAGE_REPO: &str = "quay.io/ai-openshell/sandbox";
163163

164164
/// Process-level default for the trusted sandbox runtime image.
165165
pub const SANDBOX_RUNTIME_IMAGE_ENV: &str = "OPENSHELL_SANDBOX_RUNTIME_IMAGE";
@@ -2207,12 +2207,12 @@ mod tests {
22072207
fn default_supervisor_image_is_version_pinned() {
22082208
use super::{compiled_sandbox_runtime_image, compiled_supervisor_image};
22092209
let image = compiled_supervisor_image();
2210-
assert!(image.starts_with("ghcr.io/nvidia/openshell/supervisor:"));
2210+
assert!(image.starts_with("quay.io/ai-openshell/supervisor:"));
22112211
let tag = image.rsplit_once(':').unwrap().1;
22122212
assert!(!tag.is_empty());
22132213

22142214
let sandbox_image = compiled_sandbox_runtime_image();
2215-
assert!(sandbox_image.starts_with("ghcr.io/nvidia/openshell/sandbox:"));
2215+
assert!(sandbox_image.starts_with("quay.io/ai-openshell/sandbox:"));
22162216
let sandbox_tag = sandbox_image.rsplit_once(':').unwrap().1;
22172217
assert!(!sandbox_tag.is_empty());
22182218
}

‎crates/openshell-driver-docker/src/tests.rs‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4264,10 +4264,10 @@ fn docker_guest_tls_paths_allows_plain_http_without_tls_flags() {
42644264
}
42654265

42664266
#[test]
4267-
fn default_docker_supervisor_image_uses_nvidia_ghcr_repo() {
4267+
fn default_docker_supervisor_image_uses_quay_repo() {
42684268
let image = openshell_core::config::default_supervisor_image();
42694269
assert!(
4270-
image.starts_with("ghcr.io/nvidia/openshell/supervisor:"),
4270+
image.starts_with("quay.io/ai-openshell/supervisor:"),
42714271
"unexpected default image reference: {image}",
42724272
);
42734273
}
@@ -4300,19 +4300,19 @@ fn docker_supervisor_image_tag_sanitizes_build_metadata_for_docker() {
43004300
#[test]
43014301
fn docker_supervisor_image_refreshes_mutable_tags_only() {
43024302
assert!(supervisor_image_should_refresh(
4303-
"ghcr.io/nvidia/openshell/supervisor:dev"
4303+
"quay.io/ai-openshell/supervisor:dev"
43044304
));
43054305
assert!(supervisor_image_should_refresh(
4306-
"ghcr.io/nvidia/openshell/supervisor:latest"
4306+
"quay.io/ai-openshell/supervisor:latest"
43074307
));
43084308
assert!(supervisor_image_should_refresh(
4309-
"ghcr.io/nvidia/openshell/supervisor"
4309+
"quay.io/ai-openshell/supervisor"
43104310
));
43114311
assert!(!supervisor_image_should_refresh(
4312-
"ghcr.io/nvidia/openshell/supervisor:0.0.47-dev.13-g57b71c68f"
4312+
"quay.io/ai-openshell/supervisor:0.0.47-dev.13-g57b71c68f"
43134313
));
43144314
assert!(!supervisor_image_should_refresh(
4315-
"ghcr.io/nvidia/openshell/supervisor@sha256:abc123"
4315+
"quay.io/ai-openshell/supervisor@sha256:abc123"
43164316
));
43174317
}
43184318

‎crates/openshell-driver-podman/src/driver.rs‎

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3871,25 +3871,23 @@ mod tests {
38713871
#[test]
38723872
fn supervisor_pull_policy_refreshes_mutable_tags_only() {
38733873
assert_eq!(
3874-
runtime_image_pull_policy("ghcr.io/nvidia/openshell/supervisor:dev"),
3874+
runtime_image_pull_policy("quay.io/ai-openshell/supervisor:dev"),
38753875
"newer"
38763876
);
38773877
assert_eq!(
3878-
runtime_image_pull_policy("ghcr.io/nvidia/openshell/supervisor:latest"),
3878+
runtime_image_pull_policy("quay.io/ai-openshell/supervisor:latest"),
38793879
"newer"
38803880
);
38813881
assert_eq!(
3882-
runtime_image_pull_policy("ghcr.io/nvidia/openshell/supervisor"),
3882+
runtime_image_pull_policy("quay.io/ai-openshell/supervisor"),
38833883
"newer"
38843884
);
38853885
assert_eq!(
3886-
runtime_image_pull_policy(
3887-
"ghcr.io/nvidia/openshell/supervisor:0.0.47-dev.13-g57b71c68f"
3888-
),
3886+
runtime_image_pull_policy("quay.io/ai-openshell/supervisor:0.0.47-dev.13-g57b71c68f"),
38893887
"missing"
38903888
);
38913889
assert_eq!(
3892-
runtime_image_pull_policy("ghcr.io/nvidia/openshell/supervisor@sha256:abc123"),
3890+
runtime_image_pull_policy("quay.io/ai-openshell/supervisor@sha256:abc123"),
38933891
"missing"
38943892
);
38953893
}

‎crates/openshell-server/src/config_file.rs‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2102,8 +2102,8 @@ dangerously_allow_insecure_http = false
21022102
21032103
[openshell.drivers.kubernetes]
21042104
namespace = "agents"
2105-
default_image = "ghcr.io/nvidia/openshell/sandbox:latest"
2106-
supervisor_image = "ghcr.io/nvidia/openshell/supervisor:latest"
2105+
default_image = "quay.io/ai-openshell/sandbox:latest"
2106+
supervisor_image = "quay.io/ai-openshell/supervisor:latest"
21072107
client_tls_secret_name = "openshell-sandbox-tls"
21082108
service_account_name = "openshell-sandbox"
21092109
grpc_endpoint = "https://openshell-gateway.agents.svc:8080"
@@ -2153,7 +2153,7 @@ namespace = "agents"
21532153
kubernetes
21542154
.get("default_image")
21552155
.and_then(toml::Value::as_str),
2156-
Some("ghcr.io/nvidia/openshell/sandbox:latest")
2156+
Some("quay.io/ai-openshell/sandbox:latest")
21572157
);
21582158
assert!(
21592159
file.openshell

‎deploy/helm/openshell/README.md‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -635,13 +635,13 @@ for peer identity policies, multi-node registrations, and authorization.
635635
| gateway.image.digest | string | `""` | Gateway image digest. When set, this takes precedence over tag. |
636636
| gateway.image.pullPolicy | string | `nil` | Gateway image pull policy. Empty uses global.image.pullPolicy. |
637637
| gateway.image.registry | string | `""` | Gateway image registry. Empty uses global.image.registry. |
638-
| gateway.image.repository | string | `"openshell/gateway"` | Gateway image repository. |
638+
| gateway.image.repository | string | `"ai-openshell/gateway"` | Gateway image repository. |
639639
| gateway.image.tag | string | `""` | Gateway image tag. Defaults to the chart appVersion when empty. |
640640
| gateway.listenAddress | string | `"0.0.0.0"` | Gateway listener IP. Use `::` for IPv6. |
641641
| gatewayConfig | object | `{"openshell":{"version":2},"openshell.gateway":{"enable_gateway_service_routing":false}}` | Non-secret gateway application configuration. Top-level keys name TOML tables and are rendered into the mounted gateway.toml file. Kubernetes resource inputs remain outside this map; template expressions derive the corresponding runtime values from their resource owner. |
642642
| gatewayConfig."openshell.gateway".enable_gateway_service_routing | bool | `false` | Opt in to gateway-mediated sandbox service URLs and forwarding. Disabled for Kubernetes; configure application-listener ingress or explicitly enable this path. |
643643
| global.image.pullPolicy | string | `"IfNotPresent"` | Shared OpenShell image pull policy. Individual image pull policies take precedence. |
644-
| global.image.registry | string | `"ghcr.io/nvidia"` | Shared OpenShell image registry. Individual image registries take precedence. |
644+
| global.image.registry | string | `"quay.io"` | Shared OpenShell image registry. Individual image registries take precedence. |
645645
| global.image.tag | string | `""` | Shared OpenShell image tag. Defaults to the chart appVersion when empty. |
646646
| grpcRoute.backendTLSPolicy.caCertificateConfigMapName | string | `""` | Name of the ConfigMap containing the CA certificate (key: ca.crt) used to validate the gateway pod's TLS certificate. Defaults to `<fullname>-backend-ca` when empty. The certgen hook auto-creates this: with pkiInitJob (default), immediately on install/upgrade; with cert-manager, the hook polls for pkiInitJob.timeoutSeconds seconds waiting for cert-manager to issue the server certificate, then creates the ConfigMap. A single install usually succeeds; if cert-manager takes longer, increase pkiInitJob.timeoutSeconds. By default (pkiInitJob.failOnTimeout=true), the install fails if the timeout is reached; set failOnTimeout=false to allow the install to succeed and run `helm upgrade` after the certificate is issued. |
647647
| grpcRoute.backendTLSPolicy.enabled | bool | `false` | Create a BackendTLSPolicy resource for end-to-end TLS between the Gateway proxy and the OpenShell gateway pod. The traffic flow is: client → HTTPS → Gateway (terminate) → TLS (re-encrypt) → gateway pod. Requires server.disableTls=false and server.tls.enableMtls=false. The certgen hook auto-creates the backend CA ConfigMap. |
@@ -710,7 +710,7 @@ for peer identity policies, multi-node registrations, and authorization.
710710
| sandboxRuntime.image.digest | string | `""` | Sandbox runtime image digest. When set, this takes precedence over tag. |
711711
| sandboxRuntime.image.pullPolicy | string | `nil` | Sandbox runtime image pull policy. Empty uses global.image.pullPolicy. |
712712
| sandboxRuntime.image.registry | string | `""` | Sandbox runtime image registry. Empty uses global.image.registry. |
713-
| sandboxRuntime.image.repository | string | `"openshell/sandbox"` | Sandbox runtime image repository. |
713+
| sandboxRuntime.image.repository | string | `"ai-openshell/sandbox"` | Sandbox runtime image repository. |
714714
| sandboxRuntime.image.tag | string | `""` | Sandbox runtime image tag. Defaults to the chart appVersion when empty. |
715715
| sandboxServiceAccount.annotations | object | `{}` | Annotations to add to the generated sandbox service account. |
716716
| sandboxServiceAccount.create | bool | `true` | Create a service account for sandbox pods. |
@@ -816,7 +816,7 @@ for peer identity policies, multi-node registrations, and authorization.
816816
| supervisor.image.digest | string | `""` | Supervisor image digest. When set, this takes precedence over tag. |
817817
| supervisor.image.pullPolicy | string | `nil` | Supervisor image pull policy. Empty uses global.image.pullPolicy. Prefer always, if_not_present, or never; the chart also accepts legacy Kubernetes spellings Always, IfNotPresent, and Never. |
818818
| supervisor.image.registry | string | `""` | Supervisor image registry. Empty uses global.image.registry. |
819-
| supervisor.image.repository | string | `"openshell/supervisor"` | Supervisor image repository. |
819+
| supervisor.image.repository | string | `"ai-openshell/supervisor"` | Supervisor image repository. |
820820
| supervisor.image.tag | string | `""` | Supervisor image tag. Defaults to the chart appVersion when empty. |
821821
| supervisor.listenAddress | string | `"0.0.0.0"` | Shared supervisor listener IP. Use `::` for IPv6. |
822822
| supervisor.network.additionalCaConfigMapName | string | `""` | Name of an operator-owned ConfigMap with a `ca.crt` key containing additional destination CA certificates for sandbox supervisors. Empty disables additional destination trust. |

‎deploy/helm/openshell/templates/_helpers.tpl‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ Name of the gateway ClusterRoleBinding.
191191

192192
{{/* Official sandbox runtime repository used by the gateway's built-in default. */}}
193193
{{- define "openshell.defaultSandboxRuntimeRepository" -}}
194-
ghcr.io/nvidia/openshell/sandbox
194+
quay.io/ai-openshell/sandbox
195195
{{- end }}
196196

197197
{{/* Whether Helm must propagate a sandbox runtime image override. */}}
@@ -744,7 +744,7 @@ absent fields so every chart consumer observes the same configuration.
744744
{{- end -}}
745745
{{- $legacySupervisor := .Values.supervisor.image | default dict -}}
746746
{{- $legacySupervisorImage := include "openshell.supervisorImage" . -}}
747-
{{- $defaultSupervisorImage := printf "ghcr.io/nvidia/openshell/supervisor:%s" .Chart.AppVersion -}}
747+
{{- $defaultSupervisorImage := printf "quay.io/ai-openshell/supervisor:%s" .Chart.AppVersion -}}
748748
{{- if and (ne $legacySupervisorImage $defaultSupervisorImage) (not (hasKey $kubernetes "supervisor_image")) -}}
749749
{{- $_ := set $kubernetes "supervisor_image" $legacySupervisorImage -}}
750750
{{- end -}}

‎deploy/helm/openshell/tests/gateway_config_test.yaml‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -340,10 +340,10 @@ tests:
340340
asserts:
341341
- matchRegex:
342342
path: data["gateway.toml"]
343-
pattern: 'supervisor_image\s*=\s*"registry\.example\.com/openshell/supervisor:v0\.1\.0"'
343+
pattern: 'supervisor_image\s*=\s*"registry\.example\.com/ai-openshell/supervisor:v0\.1\.0"'
344344
- matchRegex:
345345
path: data["gateway.toml"]
346-
pattern: 'sandbox_runtime_image\s*=\s*"registry\.example\.com/openshell/sandbox:v0\.1\.0"'
346+
pattern: 'sandbox_runtime_image\s*=\s*"registry\.example\.com/ai-openshell/sandbox:v0\.1\.0"'
347347

348348
- it: lets an individual registry override the global registry
349349
template: templates/statefulset.yaml
@@ -365,7 +365,7 @@ tests:
365365
asserts:
366366
- equal:
367367
path: spec.template.spec.containers[0].image
368-
value: registry.example.com/openshell/gateway:v0.1.0
368+
value: registry.example.com/ai-openshell/gateway:v0.1.0
369369

370370
- it: defaults a repository-only sandbox image to latest
371371
template: templates/gateway-config.yaml
@@ -946,7 +946,7 @@ tests:
946946
asserts:
947947
- matchRegex:
948948
path: data["gateway.toml"]
949-
pattern: 'supervisor_image\s*=\s*"ghcr\.io/nvidia/openshell/supervisor:0\.0\.0"'
949+
pattern: 'supervisor_image\s*=\s*"quay\.io/ai-openshell/supervisor:0\.0\.0"'
950950

951951
- it: uses the gateway built-in sandbox runtime image by default
952952
template: templates/gateway-config.yaml
@@ -995,7 +995,7 @@ tests:
995995
asserts:
996996
- matchRegex:
997997
path: data["gateway.toml"]
998-
pattern: 'supervisor_image\s*=\s*"ghcr\.io/nvidia/openshell/supervisor:1\.2\.3"'
998+
pattern: 'supervisor_image\s*=\s*"quay\.io/ai-openshell/supervisor:1\.2\.3"'
999999

10001000
- it: renders a supervisor repository override with the default chart tag
10011001
template: templates/gateway-config.yaml

‎deploy/helm/openshell/tests/version_labels_test.yaml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ tests:
9595
asserts:
9696
- equal:
9797
path: spec.template.spec.containers[0].image
98-
value: ghcr.io/nvidia/openshell/gateway:release-test
98+
value: quay.io/ai-openshell/gateway:release-test
9999

100100
- it: preserves digest precedence over a gateway tag for the workload
101101
template: templates/statefulset.yaml
@@ -105,7 +105,7 @@ tests:
105105
asserts:
106106
- equal:
107107
path: spec.template.spec.containers[0].image
108-
value: ghcr.io/nvidia/openshell/gateway@sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
108+
value: quay.io/ai-openshell/gateway@sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
109109

110110
- it: preserves digest precedence over a gateway tag for the certgen Job
111111
template: templates/certgen.yaml
@@ -116,11 +116,11 @@ tests:
116116
asserts:
117117
- equal:
118118
path: spec.template.spec.containers[0].image
119-
value: ghcr.io/nvidia/openshell/gateway@sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
119+
value: quay.io/ai-openshell/gateway@sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
120120

121121
- it: leaves the appVersion image fallback unchanged
122122
template: templates/statefulset.yaml
123123
asserts:
124124
- equal:
125125
path: spec.template.spec.containers[0].image
126-
value: ghcr.io/nvidia/openshell/gateway:0.1.9+build.1
126+
value: quay.io/ai-openshell/gateway:0.1.9+build.1

‎deploy/helm/openshell/values.yaml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ replicaCount: 1
1010
global:
1111
image:
1212
# -- Shared OpenShell image registry. Individual image registries take precedence.
13-
registry: ghcr.io/nvidia
13+
registry: quay.io
1414
# -- Shared OpenShell image tag. Defaults to the chart appVersion when empty.
1515
tag: ""
1616
# -- Shared OpenShell image pull policy. Individual image pull policies take precedence.
@@ -32,7 +32,7 @@ gateway:
3232
# -- Gateway image registry. Empty uses global.image.registry.
3333
registry: ""
3434
# -- Gateway image repository.
35-
repository: openshell/gateway
35+
repository: ai-openshell/gateway
3636
# -- Gateway image pull policy. Empty uses global.image.pullPolicy.
3737
pullPolicy: null
3838
# -- Gateway image tag. Defaults to the chart appVersion when empty.
@@ -48,7 +48,7 @@ sandboxRuntime:
4848
# -- Sandbox runtime image registry. Empty uses global.image.registry.
4949
registry: ""
5050
# -- Sandbox runtime image repository.
51-
repository: openshell/sandbox
51+
repository: ai-openshell/sandbox
5252
# -- Sandbox runtime image pull policy. Empty uses global.image.pullPolicy.
5353
pullPolicy: null
5454
# -- Sandbox runtime image tag. Defaults to the chart appVersion when empty.
@@ -62,7 +62,7 @@ supervisor:
6262
# -- Supervisor image registry. Empty uses global.image.registry.
6363
registry: ""
6464
# -- Supervisor image repository.
65-
repository: openshell/supervisor
65+
repository: ai-openshell/supervisor
6666
# -- Supervisor image pull policy. Empty uses global.image.pullPolicy.
6767
# Prefer always, if_not_present, or never; the chart also accepts legacy
6868
# Kubernetes spellings Always, IfNotPresent, and Never.

0 commit comments

Comments
 (0)