diff --git a/deploy/helm/rhema-claw/templates/configmap.yaml b/deploy/helm/rhema-claw/templates/configmap.yaml index 25ae8e3..ef657e0 100644 --- a/deploy/helm/rhema-claw/templates/configmap.yaml +++ b/deploy/helm/rhema-claw/templates/configmap.yaml @@ -4,6 +4,13 @@ {{- $_ := set $cfg "db" "/data/claw.db" }} {{- $_ := set $cfg "workspace_root" "/data/workspaces" }} {{- $_ := set $cfg "listen" (printf "0.0.0.0:%v" .Values.service.port) }} +{{- /* The skills root defaults to the state volume: /config is a read-only + ConfigMap mount, and the daemon seeds the bundled skills + (commit-message, unslop) into this root on boot. An explicit + skills_root still wins, for a root that only needs reading. */ -}} +{{- if not (hasKey $cfg "skills_root") }} +{{- $_ := set $cfg "skills_root" "/data/state/rhema/skills" }} +{{- end }} {{- if .Values.token }} {{- $_ := set $cfg "token" .Values.token }} {{- else }} diff --git a/deploy/helm/rhema-claw/values.yaml b/deploy/helm/rhema-claw/values.yaml index 7b329f4..ebb62ff 100644 --- a/deploy/helm/rhema-claw/values.yaml +++ b/deploy/helm/rhema-claw/values.yaml @@ -23,6 +23,9 @@ token: "" # The claw.yaml content. db, workspace_root, and listen are pinned by the # templates (the PVC is fixed at /data and the container must bind all # interfaces for the Service); whatever these say here is overridden. +# skills_root defaults to /data/state/rhema/skills, on the same volume, +# because /config is a read-only mount and the daemon seeds the bundled +# skills there; set it to point discovery at a read-only root instead. config: poll_interval_secs: 60 # Seed watches: imported once, while the watch table is still empty.