mirror of
https://github.com/shadoll/helm-charts.git
synced 2026-11-26 19:30:47 +00:00
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:
1 parent
b4f5e55700
commit
988cdba5dc
2 files changed
+6
-1
No files matched your search
+1
-1
@@ -7,7 +7,7 @@ description: >-
|
|||||||
is tracked directly off openclaw/openclaw releases via the annotation below
|
is tracked directly off openclaw/openclaw releases via the annotation below
|
||||||
and scripts/update-charts.sh.
|
and scripts/update-charts.sh.
|
||||||
type: application
|
type: application
|
||||||
version: 0.2.19
|
version: 0.2.20
|
||||||
appVersion: "2026.11.4"
|
appVersion: "2026.11.4"
|
||||||
annotations:
|
annotations:
|
||||||
version-source: github-release:openclaw/openclaw
|
version-source: github-release:openclaw/openclaw
|
||||||
|
|||||||
@@ -65,6 +65,11 @@ spec:
|
|||||||
mkdir -p /data/{{ . }}
|
mkdir -p /data/{{ . }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
mkdir -p /data/.openclaw/workspace
|
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/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
|
[ -f /data/.openclaw/workspace/AGENTS.md ] || cp /seed/AGENTS.md /data/.openclaw/workspace/AGENTS.md
|
||||||
{{- with .Values.containerSecurityContext }}
|
{{- with .Values.containerSecurityContext }}
|
||||||
|
|||||||
Reference in new issue
Block a user