From 4fe70aee5808d3ff2d088f19373d9f4fa1ac7e57 Mon Sep 17 00:00:00 2001 From: sirius0xdev Date: Fri, 24 Apr 2026 00:29:06 +0000 Subject: [PATCH] update deploy --- apps/base/customer1/openclaw/deployment.yaml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/apps/base/customer1/openclaw/deployment.yaml b/apps/base/customer1/openclaw/deployment.yaml index 9d97f4c..4c29445 100644 --- a/apps/base/customer1/openclaw/deployment.yaml +++ b/apps/base/customer1/openclaw/deployment.yaml @@ -49,6 +49,25 @@ spec: mountPath: /home/node/.openclaw - name: config mountPath: /config + + - name: init-config + image: busybox:1.37 + imagePullPolicy: IfNotPresent + command: + - sh + - -c + - | + cp /config/openclaw.json /home/node/.openclaw/openclaw.json + cp /config/AGENTS.md /home/node/.openclaw/workspace/AGENTS.md || true + echo "✅ Config copied" + securityContext: + runAsUser: 0 + runAsGroup: 0 + volumeMounts: + - name: openclaw-home-new + mountPath: /home/node/.openclaw + - name: config + mountPath: /config containers: - name: gateway image: ghcr.io/openclaw/openclaw:slim