update deploy

This commit is contained in:
sirius0xdev 2026-04-24 00:29:06 +00:00
parent b49c4057f6
commit 4fe70aee58

View file

@ -49,6 +49,25 @@ spec:
mountPath: /home/node/.openclaw mountPath: /home/node/.openclaw
- name: config - name: config
mountPath: /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: containers:
- name: gateway - name: gateway
image: ghcr.io/openclaw/openclaw:slim image: ghcr.io/openclaw/openclaw:slim