openclaw

by weak-fox

Helm chartv1.0.84App 2026.11.10MITVerified publisher

Helm packaging for OpenClaw on Kubernetes with aio-sandbox integration and flexible model/provider configuration.

About this chart

OpenClaw Helm Chart

Project overview, demo GIF and architecture are in weak-fox/openclaw-helm.

This chart deploys OpenClaw on Kubernetes using standard Helm templates.

Architecture

ComponentPortNotes
OpenClaw Gateway18789In-pod listener
aio-sandbox8080In-pod listener (CDP/VNC/noVNC)

Key Point

  • Model/provider config is easy to switch in values (provider / api / baseUrl / model).
  • Control UI security behavior is easy to tune via gateway.controlUi.
  • Uses aio-sandbox (agent-infra sandbox) plus shared workspace storage so browser actions are visible, OpenClaw workspace config files can be updated through browser-driven flows, and shell/Jupyter tasks can run in the same environment.
  • Uses default OpenClaw gateway token flow (does not set OPENCLAW_GATEWAY_PASSWORD).
  • API key is injected from Kubernetes Secret.
  • Sandbox uses the agent-infra sidecar pattern (CDP + VNC + noVNC on port 8080).
  • values.schema.json is included for early validation (helm lint / install-time schema check).

Values Layout

  • global: naming and shared image registry
  • workload: deployment and pod settings
  • gateway: service, trusted proxies, control UI
  • openclaw: image, API-key secret, config, bootstrap, runtime plugin config
  • sandbox: browser sidecar settings
  • storage: PVC, tmp, shared memory

Image Repository Rule

All images use a consistent rule:

  • If repository is absolute (for example ghcr.io/openclaw/openclaw), it is used directly.
  • If repository is relative (for example openclaw/openclaw) and global.imageRegistry is set, final image is <global.imageRegistry>/<repository>.

Path Variables

init-config.sh and init-skills.sh consume path values from Helm templates:

  • openclaw.paths.home
  • openclaw.paths.homeDir
  • openclaw.paths.workspaceDir
  • openclaw.paths.sessionsDir
  • sandbox.workspaceMountPath
  • sandbox.shmMountPath

This avoids hardcoding /home/node/.openclaw and makes path changes explicit in values.

Image Pull Policies

Each image role can be controlled separately:

  • openclaw.image.pullPolicy (main container)
  • openclaw.init.configPullPolicy (init-config)
  • openclaw.init.skillsPullPolicy (init-skills in online mode)
  • openclaw.bootstrap.seedImage.pullPolicy (init-skills in offline mode)
  • sandbox.image.pullPolicy (sandbox sidecar)

Image Pull Secrets

Use existing registry secrets via workload.imagePullSecrets (default []):

workload:
  imagePullSecrets:
    - name: regcred

The chart only references these secrets and does not create them.

Install

helm install openclaw ./charts/openclaw -n openclaw --create-namespace

Basic Setup

  1. Create namespace:
kubectl create namespace openclaw
  1. Create API key secret:
kubectl create secret generic openclaw-api-key \
  -n openclaw \
  --from-literal=OPENCLAW_API_KEY=sk-xxxx
  1. Install chart:
helm install openclaw ./charts/openclaw -n openclaw

Control UI security note (important)

By default:

gateway:
  controlUi:
    dangerouslyAllowHostHeaderOriginFallback: false

When your deployment is not strict loopback (common in Kubernetes), Control UI auth/origin checks may block startup unless you provide a secure production config.

For temporary/local validation only, you can use:

gateway:
  controlUi:
    dangerouslyAllowHostHeaderOriginFallback: true

Quick bypass (local testing / debug):

gateway:
  controlUi:
    allowInsecureAuth: true
    dangerouslyAllowHostHeaderOriginFallback: true
    dangerouslyDisableDeviceAuth: true

Or apply quickly via install/upgrade flags:

helm upgrade --install openclaw ./charts/openclaw -n openclaw \
  --set gateway.controlUi.allowInsecureAuth=true \
  --set gateway.controlUi.dangerouslyAllowHostHeaderOriginFallback=true \
  --set gateway.controlUi.dangerouslyDisableDeviceAuth=true

For production, follow official OpenClaw security guidance and run security checks:

  • Control UI docs: https://docs.openclaw.ai/web/control-ui
  • Security docs: https://docs.openclaw.ai/security
  • Security audit command: openclaw security audit --deep

Offline-seed install (your image set)

helm install openclaw ./charts/openclaw -n openclaw \
  -f ./charts/openclaw/examples/values.offline-seed.yaml

The example uses:

  • ghcr.io/agent-infra/sandbox:1.0.0.152
  • ghcr.io/openclaw/openclaw:2026.11.10
  • ghcr.io/weak-fox/openclaw-offline-seed:v1.0.81-oc-2026.11.10

Optional: chart-managed API key secret

openclaw:
  secrets:
    apiKey:
      existingSecret: ""
      create: true
      name: openclaw-api-key
      key: OPENCLAW_API_KEY
      value: sk-xxxx

Verify

helm lint ./charts/openclaw
helm template openclaw ./charts/openclaw >/tmp/openclaw-rendered.yaml
helm template openclaw ./charts/openclaw -f ./charts/openclaw/examples/values.offline-seed.yaml >/tmp/openclaw-rendered-offline.yaml

Deploy openclaw with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has openclaw on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartopenclaw is pinned at v1.0.84 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply