Initial OpenClaw GitOps skeleton

This commit is contained in:
Clawdbot
2026-01-30 10:18:11 +00:00
commit 46bf054e0b
11 changed files with 237 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
apiVersion: v1
kind: ServiceAccount
metadata:
name: openclaw
namespace: openclaw
---
# Minimal Role/RoleBinding placeholder.
# Adjust permissions once we know what OpenClaw needs (MCP, secrets read, etc.)
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: openclaw-basic
namespace: openclaw
rules:
- apiGroups: [""]
resources: ["pods", "pods/log"]
verbs: ["get", "list", "watch"]
---
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: openclaw-basic
namespace: openclaw
subjects:
- kind: ServiceAccount
name: openclaw
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
name: openclaw-basic