openclaw: make the fallback temp dir private at start

Version 2026.11.4 refuses to start when its temp dir is group or world
writable. fsGroup gives the PVC dir .openclaw/tmp the mode 2770 at each
mount. Run chmod 700 on it in the seed-config init container.
Bump the chart to 0.2.20.
This commit is contained in:
sha committed 2026-11-17 10:18:57 +02:00
1 parent b4f5e55700
commit 988cdba5dc
2 files changed
+6 -1

No files matched your search

+1 -1
View File
@@ -7,7 +7,7 @@ description: >-
is tracked directly off openclaw/openclaw releases via the annotation below
and scripts/update-charts.sh.
type: application
version: 0.2.19
version: 0.2.20
appVersion: "2026.11.4"
annotations:
version-source: github-release:openclaw/openclaw
+5
View File
@@ -65,6 +65,11 @@ spec:
mkdir -p /data/{{ . }}
{{- end }}
mkdir -p /data/.openclaw/workspace
# The gateway refuses a temp dir that is group or world writable.
# fsGroup sets group access on the PVC at each mount, so make
# the fallback temp dir private after the mount.
mkdir -p /data/.openclaw/tmp
chmod 700 /data/.openclaw/tmp
[ -f /data/.openclaw/openclaw.json ] || cp /seed/openclaw.json /data/.openclaw/openclaw.json
[ -f /data/.openclaw/workspace/AGENTS.md ] || cp /seed/AGENTS.md /data/.openclaw/workspace/AGENTS.md
{{- with .Values.containerSecurityContext }}