chore(openclaw): golden config snapshot + RBAC manifest in git

- Add openclaw/golden/ with stable copies of openclaw.json, SOUL.md,
  TOOLS.md, HOMELAB.md, kubectl-ro
- Fix HOMELAB.md model roles (qwen3-es:14b=primary, llama3.1-es:8b=fallback)
- Add rbac-openclaw-agent.yaml (ClusterRole read-only + binding + SA)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-21 09:18:39 +00:00
parent 8592a09bc7
commit a5aac4dd83
6 changed files with 431 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
#!/bin/bash
DENIED="delete apply patch edit exec scale rollout drain cordon uncordon taint replace create annotate label"
if [ "$#" -eq 0 ]; then exec /opt/kube/kubectl "$@"; fi
SUBCMD="$1"
for d in $DENIED; do
if [ "$SUBCMD" = "$d" ]; then
echo "ERROR: \"$SUBCMD\" no permitido en modo solo lectura." >&2; exit 1
fi
done
exec /opt/kube/kubectl "$@"