update deploy
This commit is contained in:
parent
b49c4057f6
commit
4fe70aee58
1 changed files with 19 additions and 0 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue