Skip to content

Agent Mesh

configure open claw

Antonio Ojea0ba5b353fbe0
diff --git a/.github/k8s/sam-node-openclaw-template.yaml b/.github/k8s/sam-node-openclaw-template.yaml
index 587045ef..305ad3c2 100644
--- a/.github/k8s/sam-node-openclaw-template.yaml
+++ b/.github/k8s/sam-node-openclaw-template.yaml
@@ -16,6 +16,17 @@ data:
description: "OpenClaw AI Agent Gateway"
# Register the OpenClaw local gateway as a mesh service
target_url: "http://localhost:18789/mcp/events"
+ openclaw.json: |
+ {
+ "agents": {
+ "defaults": {
+ "model": "google/gemini-3.1-pro"
+ }
+ },
+ "gateway": {
+ "mode": "local"
+ }
+ }
---
apiVersion: apps/v1
kind: Deployment
@@ -33,13 +44,6 @@ spec:
app: openclaw-canary-${ENV_NAME}
spec:
serviceAccountName: sam-node-sa
- initContainers:
- - name: init-openclaw-config
- image: busybox:1.36.1
- command: ["sh", "-c", "mkdir -p /data && echo '{\"gateway\": {\"mode\": \"local\", \"model\": \"google/gemini-3.1-pro\"}}' > /data/openclaw.json"]
- volumeMounts:
- - name: openclaw-data
- mountPath: /data
containers:
- name: openclaw
image: ghcr.io/openclaw/openclaw:latest
@@ -71,6 +75,9 @@ spec:
volumeMounts:
- name: openclaw-data
mountPath: /data
+ - name: config-volume
+ mountPath: /data/openclaw.json
+ subPath: openclaw.json
- name: dshm
mountPath: /dev/shm
- name: sam-node