Skip to main content

Air-gapped installs

An installation without access to public registries needs three things: the platform's images in a private registry, the chart, and a way to pull workspace images.

Platform images​

global.imageRegistry replaces the registry of every image the chart deploys, keeping the repository path:

ImageDefault reference
API serverghcr.io/idekube-project/idekube-platform-apiserver
Frontendghcr.io/idekube-project/idekube-platform-frontend
PostgreSQLdocker.io/library/postgres:17-alpine
Valkeydocker.io/valkey/valkey:8-alpine
Prometheus (optional)quay.io/prometheus/prometheus:v3.1.0
Filebeat (optional)docker.elastic.co/beats/filebeat:8.17.0
values.yaml
global:
imageRegistry: registry.internal
imagePullSecrets: [registry-credentials]

With this, the API server is pulled from registry.internal/idekube-project/idekube-platform-apiserver, PostgreSQL from registry.internal/library/postgres, and so on. Mirror the images under the same repository paths, or override repository per image.

global.imagePullSecrets names secrets in the release namespace. They apply to the platform's pods, not to workspaces.

The chart​

Pull the chart where there is network access and install from the file:

helm pull oci://ghcr.io/idekube-project/charts/idekube-platform --version <version>
helm install idekube ./idekube-platform-<version>.tgz --namespace idekube --create-namespace --values values.yaml

Building the images yourself​

docker-bake.hcl takes the registry, the version and every base image from variables, so a build can use mirrored base images:

VariableDefault
REGISTRYghcr.io/idekube-project
VERSIONdev
PLATFORMSempty: the host platform only
GO_IMAGEgolang:1.26-bookworm
RUNTIME_IMAGEgcr.io/distroless/static-debian12:nonroot
NODE_IMAGEnode:22-alpine
NGINX_IMAGEnginxinc/nginx-unprivileged:1.27-alpine
REGISTRY=registry.internal/idekube-project VERSION=v1.2.3 \
GO_IMAGE=registry.internal/library/golang:1.26-bookworm \
RUNTIME_IMAGE=registry.internal/distroless/static-debian12:nonroot \
NODE_IMAGE=registry.internal/library/node:22-alpine \
NGINX_IMAGE=registry.internal/nginxinc/nginx-unprivileged:1.27-alpine \
docker buildx bake --push

The build also downloads Go modules and Node packages, so it needs a reachable module proxy (GOPROXY) and package index, or mirrors of them.

Workspace images​

Templates keep naming the public image. worker.registry_mirrors rewrites the registry when the workspace is created in its worker's cluster: it maps a registry host to the prefix that replaces it. A worker in another network can override it with mirrors of its own; see Workers.

values.yaml
settings:
worker:
registry_mirrors:
docker.io: registry.internal/dockerhub
ghcr.io: registry.internal/ghcr
image_pull_secrets: [registry-credentials]
Template imagePulled from
ghcr.io/idekube-project/idekube-container-coder:latestregistry.internal/ghcr/idekube-project/idekube-container-coder:latest
ubuntu:24.04registry.internal/dockerhub/library/ubuntu:24.04
traefik/whoami:v1.10registry.internal/dockerhub/traefik/whoami:v1.10
quay.io/org/image:1unchanged: no mirror is configured for quay.io

Images without a registry host are treated as docker.io, and single-name images as docker.io/library/<name>.

worker.image_pull_secrets names secrets in the workspaces namespace; create them yourself. worker.image_pull_policy is IfNotPresent by default.

The sidecar that runs next to every workspace is a workspace image too: worker.sidecar.image, which the chart sets to ghcr.io/idekube-project/idekube-platform-sidecar with the release's tag, is rewritten through the same mirrors.

The images of a worker's agent and gateway (ghcr.io/idekube-project/idekube-platform-agent and docker.io/envoyproxy/envoy) come from its chart's global.imageRegistry; the platform chart's global.imageRegistry applies to its local worker too.