Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions crates/openshell-core/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -156,10 +156,10 @@ impl FromStr for PolicyValidationFailureMode {
}

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

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

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

let sandbox_image = compiled_sandbox_runtime_image();
assert!(sandbox_image.starts_with("ghcr.io/nvidia/openshell/sandbox:"));
assert!(sandbox_image.starts_with("quay.io/ai-openshell/sandbox:"));
let sandbox_tag = sandbox_image.rsplit_once(':').unwrap().1;
assert!(!sandbox_tag.is_empty());
}
Expand Down
14 changes: 7 additions & 7 deletions crates/openshell-driver-docker/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4264,10 +4264,10 @@ fn docker_guest_tls_paths_allows_plain_http_without_tls_flags() {
}

#[test]
fn default_docker_supervisor_image_uses_nvidia_ghcr_repo() {
fn default_docker_supervisor_image_uses_quay_repo() {
let image = openshell_core::config::default_supervisor_image();
assert!(
image.starts_with("ghcr.io/nvidia/openshell/supervisor:"),
image.starts_with("quay.io/ai-openshell/supervisor:"),
"unexpected default image reference: {image}",
);
}
Expand Down Expand Up @@ -4300,19 +4300,19 @@ fn docker_supervisor_image_tag_sanitizes_build_metadata_for_docker() {
#[test]
fn docker_supervisor_image_refreshes_mutable_tags_only() {
assert!(supervisor_image_should_refresh(
"ghcr.io/nvidia/openshell/supervisor:dev"
"quay.io/ai-openshell/supervisor:dev"
));
assert!(supervisor_image_should_refresh(
"ghcr.io/nvidia/openshell/supervisor:latest"
"quay.io/ai-openshell/supervisor:latest"
));
assert!(supervisor_image_should_refresh(
"ghcr.io/nvidia/openshell/supervisor"
"quay.io/ai-openshell/supervisor"
));
assert!(!supervisor_image_should_refresh(
"ghcr.io/nvidia/openshell/supervisor:0.0.47-dev.13-g57b71c68f"
"quay.io/ai-openshell/supervisor:0.0.47-dev.13-g57b71c68f"
));
assert!(!supervisor_image_should_refresh(
"ghcr.io/nvidia/openshell/supervisor@sha256:abc123"
"quay.io/ai-openshell/supervisor@sha256:abc123"
));
}

Expand Down
12 changes: 5 additions & 7 deletions crates/openshell-driver-podman/src/driver.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3871,25 +3871,23 @@ mod tests {
#[test]
fn supervisor_pull_policy_refreshes_mutable_tags_only() {
assert_eq!(
runtime_image_pull_policy("ghcr.io/nvidia/openshell/supervisor:dev"),
runtime_image_pull_policy("quay.io/ai-openshell/supervisor:dev"),
"newer"
);
assert_eq!(
runtime_image_pull_policy("ghcr.io/nvidia/openshell/supervisor:latest"),
runtime_image_pull_policy("quay.io/ai-openshell/supervisor:latest"),
"newer"
);
assert_eq!(
runtime_image_pull_policy("ghcr.io/nvidia/openshell/supervisor"),
runtime_image_pull_policy("quay.io/ai-openshell/supervisor"),
"newer"
);
assert_eq!(
runtime_image_pull_policy(
"ghcr.io/nvidia/openshell/supervisor:0.0.47-dev.13-g57b71c68f"
),
runtime_image_pull_policy("quay.io/ai-openshell/supervisor:0.0.47-dev.13-g57b71c68f"),
"missing"
);
assert_eq!(
runtime_image_pull_policy("ghcr.io/nvidia/openshell/supervisor@sha256:abc123"),
runtime_image_pull_policy("quay.io/ai-openshell/supervisor@sha256:abc123"),
"missing"
);
}
Expand Down
6 changes: 3 additions & 3 deletions crates/openshell-server/src/config_file.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2102,8 +2102,8 @@ dangerously_allow_insecure_http = false

[openshell.drivers.kubernetes]
namespace = "agents"
default_image = "ghcr.io/nvidia/openshell/sandbox:latest"
supervisor_image = "ghcr.io/nvidia/openshell/supervisor:latest"
default_image = "quay.io/ai-openshell/sandbox:latest"
supervisor_image = "quay.io/ai-openshell/supervisor:latest"
client_tls_secret_name = "openshell-sandbox-tls"
service_account_name = "openshell-sandbox"
grpc_endpoint = "https://openshell-gateway.agents.svc:8080"
Expand Down Expand Up @@ -2153,7 +2153,7 @@ namespace = "agents"
kubernetes
.get("default_image")
.and_then(toml::Value::as_str),
Some("ghcr.io/nvidia/openshell/sandbox:latest")
Some("quay.io/ai-openshell/sandbox:latest")
);
assert!(
file.openshell
Expand Down
2 changes: 1 addition & 1 deletion deploy/docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@

services:
gateway:
image: &gateway-image ghcr.io/nvidia/openshell/gateway:${IMAGE_TAG:-latest}
image: &gateway-image quay.io/ai-openshell/gateway:${IMAGE_TAG:-latest}
restart: unless-stopped

depends_on:
Expand Down
4 changes: 2 additions & 2 deletions deploy/docker/gateway.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ gateway_id = "openshell-docker"
# Default image pulled for `openshell sandbox create` without --from.
default_image = "nvcr.io/nvidia/base/ubuntu:24.04"
# Sandbox runtime image from which the openshell-sandbox binary is extracted.
sandbox_runtime_image = "ghcr.io/nvidia/openshell/sandbox:latest"
sandbox_runtime_image = "quay.io/ai-openshell/sandbox:latest"
# Image containing the external supervisor process.
supervisor_image = "ghcr.io/nvidia/openshell/supervisor:latest"
supervisor_image = "quay.io/ai-openshell/supervisor:latest"
# Only pull images that are not already cached locally.
image_pull_policy = "if_not_present"
# Value assigned to the openshell.sandbox_namespace label on sandbox containers.
Expand Down
4 changes: 2 additions & 2 deletions deploy/helm/openshell/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
# SPDX-License-Identifier: Apache-2.0

apiVersion: v2
# Chart name determines the OCI image name: ghcr.io/nvidia/openshell/helm-chart:<version>
name: helm-chart
# Chart name determines the OCI artifact name: quay.io/ai-openshell/charts/openshell:<version>
name: openshell
description: runtime environment for autonomous agents
type: application
# version and appVersion are patched to the release semver by CI before helm package.
Expand Down
24 changes: 12 additions & 12 deletions deploy/helm/openshell/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Edit README.md.gotmpl and values.yaml, then run `mise run helm:docs`.

> **Experimental** - the Kubernetes deployment path is under active development. Expect rough edges and breaking changes.

This chart deploys the OpenShell gateway into a Kubernetes cluster. It is published as an OCI artifact to GHCR at `oci://ghcr.io/nvidia/openshell/helm-chart`.
This chart deploys the OpenShell gateway into a Kubernetes cluster. It is published as an OCI artifact to Quay at `oci://quay.io/ai-openshell/charts/openshell`.

By default, this chart also creates the namespace-scoped resources needed by
sandboxes. For a shared-gateway deployment, install it with
Expand Down Expand Up @@ -52,7 +52,7 @@ A cluster-admin applies the cluster-scoped objects once per gateway
ServiceAccount, rendered from the same values the release uses:

```shell
helm template openshell oci://ghcr.io/nvidia/openshell/helm-chart --version <version> \
helm template openshell oci://quay.io/ai-openshell/charts/openshell --version <version> \
--namespace openshell -f my-values.yaml \
--set rbac.create=true \
--set rbac.clusterScoped.create=true \
Expand All @@ -66,7 +66,7 @@ objects omitted, using [`ci/values-namespace-admin.yaml`](ci/values-namespace-ad
or the equivalent `--set`:

```shell
helm upgrade --install openshell oci://ghcr.io/nvidia/openshell/helm-chart --version <version> \
helm upgrade --install openshell oci://quay.io/ai-openshell/charts/openshell --version <version> \
--namespace openshell -f my-values.yaml \
--set rbac.clusterScoped.create=false
```
Expand Down Expand Up @@ -99,7 +99,7 @@ With `rbac.create=false` the cluster-admin applies the namespaced RBAC too,
adding it to the same render:

```shell
helm template openshell oci://ghcr.io/nvidia/openshell/helm-chart --version <version> \
helm template openshell oci://quay.io/ai-openshell/charts/openshell --version <version> \
--namespace openshell -f my-values.yaml \
--set rbac.create=true \
--set rbac.clusterScoped.create=true \
Expand Down Expand Up @@ -166,7 +166,7 @@ where Helm cannot discover cluster APIs.
## Install on Kubernetes

```shell
helm install openshell oci://ghcr.io/nvidia/openshell/helm-chart --version <version>
helm install openshell oci://quay.io/ai-openshell/charts/openshell --version <version>
```

## Install on OpenShift
Expand All @@ -178,7 +178,7 @@ See the full [OpenShift install guide](https://docs.nvidia.com/openshell/latest/
oc create ns openshell

# Deploy openshell with overrides to allow SCC assignment of fsGroup and runAsUser for the gateway
helm install openshell oci://ghcr.io/nvidia/openshell/helm-chart --version <version> -n openshell \
helm install openshell oci://quay.io/ai-openshell/charts/openshell --version <version> -n openshell \
--set server.disableTls=true \
--set podSecurityContext.fsGroup=null \
--set securityContext.runAsUser=null
Expand Down Expand Up @@ -364,7 +364,7 @@ recreate the StatefulSet so its template matches:
kubectl -n openshell patch pvc openshell-data-openshell-0 \
-p '{"spec":{"resources":{"requests":{"storage":"20Gi"}}}}'
kubectl -n openshell delete statefulset openshell --cascade=orphan
helm upgrade openshell oci://ghcr.io/nvidia/openshell/helm-chart --version <installed-version> \
helm upgrade openshell oci://quay.io/ai-openshell/charts/openshell --version <installed-version> \
--reuse-values -n openshell --set server.dataStorageSize=20Gi
```

Expand All @@ -389,7 +389,7 @@ kubectl create secret generic my-pg-credentials -n openshell \
Then install the chart pointing at that Secret:

```bash
helm install openshell oci://ghcr.io/nvidia/openshell/helm-chart --version <version> \
helm install openshell oci://quay.io/ai-openshell/charts/openshell --version <version> \
-n openshell \
--set workload.kind=deployment \
--set server.externalDbSecret=my-pg-credentials
Expand Down Expand Up @@ -635,13 +635,13 @@ for peer identity policies, multi-node registrations, and authorization.
| gateway.image.digest | string | `""` | Gateway image digest. When set, this takes precedence over tag. |
| gateway.image.pullPolicy | string | `nil` | Gateway image pull policy. Empty uses global.image.pullPolicy. |
| gateway.image.registry | string | `""` | Gateway image registry. Empty uses global.image.registry. |
| gateway.image.repository | string | `"openshell/gateway"` | Gateway image repository. |
| gateway.image.repository | string | `"ai-openshell/gateway"` | Gateway image repository. |
| gateway.image.tag | string | `""` | Gateway image tag. Defaults to the chart appVersion when empty. |
| gateway.listenAddress | string | `"0.0.0.0"` | Gateway listener IP. Use `::` for IPv6. |
| 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. |
| 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. |
| global.image.pullPolicy | string | `"IfNotPresent"` | Shared OpenShell image pull policy. Individual image pull policies take precedence. |
| global.image.registry | string | `"ghcr.io/nvidia"` | Shared OpenShell image registry. Individual image registries take precedence. |
| global.image.registry | string | `"quay.io"` | Shared OpenShell image registry. Individual image registries take precedence. |
| global.image.tag | string | `""` | Shared OpenShell image tag. Defaults to the chart appVersion when empty. |
| 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. |
| 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. |
Expand Down Expand Up @@ -710,7 +710,7 @@ for peer identity policies, multi-node registrations, and authorization.
| sandboxRuntime.image.digest | string | `""` | Sandbox runtime image digest. When set, this takes precedence over tag. |
| sandboxRuntime.image.pullPolicy | string | `nil` | Sandbox runtime image pull policy. Empty uses global.image.pullPolicy. |
| sandboxRuntime.image.registry | string | `""` | Sandbox runtime image registry. Empty uses global.image.registry. |
| sandboxRuntime.image.repository | string | `"openshell/sandbox"` | Sandbox runtime image repository. |
| sandboxRuntime.image.repository | string | `"ai-openshell/sandbox"` | Sandbox runtime image repository. |
| sandboxRuntime.image.tag | string | `""` | Sandbox runtime image tag. Defaults to the chart appVersion when empty. |
| sandboxServiceAccount.annotations | object | `{}` | Annotations to add to the generated sandbox service account. |
| sandboxServiceAccount.create | bool | `true` | Create a service account for sandbox pods. |
Expand Down Expand Up @@ -816,7 +816,7 @@ for peer identity policies, multi-node registrations, and authorization.
| supervisor.image.digest | string | `""` | Supervisor image digest. When set, this takes precedence over tag. |
| 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. |
| supervisor.image.registry | string | `""` | Supervisor image registry. Empty uses global.image.registry. |
| supervisor.image.repository | string | `"openshell/supervisor"` | Supervisor image repository. |
| supervisor.image.repository | string | `"ai-openshell/supervisor"` | Supervisor image repository. |
| supervisor.image.tag | string | `""` | Supervisor image tag. Defaults to the chart appVersion when empty. |
| supervisor.listenAddress | string | `"0.0.0.0"` | Shared supervisor listener IP. Use `::` for IPv6. |
| 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. |
Expand Down
16 changes: 8 additions & 8 deletions deploy/helm/openshell/README.md.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Edit README.md.gotmpl and values.yaml, then run `mise run helm:docs`.

> **Experimental** - the Kubernetes deployment path is under active development. Expect rough edges and breaking changes.

This chart deploys the OpenShell gateway into a Kubernetes cluster. It is published as an OCI artifact to GHCR at `oci://ghcr.io/nvidia/openshell/helm-chart`.
This chart deploys the OpenShell gateway into a Kubernetes cluster. It is published as an OCI artifact to Quay at `oci://quay.io/ai-openshell/charts/openshell`.

By default, this chart also creates the namespace-scoped resources needed by
sandboxes. For a shared-gateway deployment, install it with
Expand Down Expand Up @@ -52,7 +52,7 @@ A cluster-admin applies the cluster-scoped objects once per gateway
ServiceAccount, rendered from the same values the release uses:

```shell
helm template openshell oci://ghcr.io/nvidia/openshell/helm-chart --version <version> \
helm template openshell oci://quay.io/ai-openshell/charts/openshell --version <version> \
--namespace openshell -f my-values.yaml \
--set rbac.create=true \
--set rbac.clusterScoped.create=true \
Expand All @@ -66,7 +66,7 @@ objects omitted, using [`ci/values-namespace-admin.yaml`](ci/values-namespace-ad
or the equivalent `--set`:

```shell
helm upgrade --install openshell oci://ghcr.io/nvidia/openshell/helm-chart --version <version> \
helm upgrade --install openshell oci://quay.io/ai-openshell/charts/openshell --version <version> \
--namespace openshell -f my-values.yaml \
--set rbac.clusterScoped.create=false
```
Expand Down Expand Up @@ -99,7 +99,7 @@ With `rbac.create=false` the cluster-admin applies the namespaced RBAC too,
adding it to the same render:

```shell
helm template openshell oci://ghcr.io/nvidia/openshell/helm-chart --version <version> \
helm template openshell oci://quay.io/ai-openshell/charts/openshell --version <version> \
--namespace openshell -f my-values.yaml \
--set rbac.create=true \
--set rbac.clusterScoped.create=true \
Expand Down Expand Up @@ -167,7 +167,7 @@ where Helm cannot discover cluster APIs.
## Install on Kubernetes

```shell
helm install openshell oci://ghcr.io/nvidia/openshell/helm-chart --version <version>
helm install openshell oci://quay.io/ai-openshell/charts/openshell --version <version>
```

## Install on OpenShift
Expand All @@ -179,7 +179,7 @@ See the full [OpenShift install guide](https://docs.nvidia.com/openshell/latest/
oc create ns openshell

# Deploy openshell with overrides to allow SCC assignment of fsGroup and runAsUser for the gateway
helm install openshell oci://ghcr.io/nvidia/openshell/helm-chart --version <version> -n openshell \
helm install openshell oci://quay.io/ai-openshell/charts/openshell --version <version> -n openshell \
--set server.disableTls=true \
--set podSecurityContext.fsGroup=null \
--set securityContext.runAsUser=null
Expand Down Expand Up @@ -365,7 +365,7 @@ recreate the StatefulSet so its template matches:
kubectl -n openshell patch pvc openshell-data-openshell-0 \
-p '{"spec":{"resources":{"requests":{"storage":"20Gi"}}}}'
kubectl -n openshell delete statefulset openshell --cascade=orphan
helm upgrade openshell oci://ghcr.io/nvidia/openshell/helm-chart --version <installed-version> \
helm upgrade openshell oci://quay.io/ai-openshell/charts/openshell --version <installed-version> \
--reuse-values -n openshell --set server.dataStorageSize=20Gi
```

Expand All @@ -390,7 +390,7 @@ kubectl create secret generic my-pg-credentials -n openshell \
Then install the chart pointing at that Secret:

```bash
helm install openshell oci://ghcr.io/nvidia/openshell/helm-chart --version <version> \
helm install openshell oci://quay.io/ai-openshell/charts/openshell --version <version> \
-n openshell \
--set workload.kind=deployment \
--set server.externalDbSecret=my-pg-credentials
Expand Down
2 changes: 1 addition & 1 deletion deploy/helm/openshell/ci/values-namespace-admin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#
# Generate the cluster-scoped objects for the cluster-admin step from the same
# release values, then apply them as cluster-admin:
# helm template openshell oci://ghcr.io/nvidia/openshell/helm-chart \
# helm template openshell oci://quay.io/ai-openshell/charts/openshell \
# --version <version> --namespace openshell -f my-values.yaml \
# --set rbac.create=true \
# --set rbac.clusterScoped.create=true \
Expand Down
Loading
Loading