Files
openclaw/manifests/serviceaccount-rbac.yaml
2026-01-30 10:18:11 +00:00

31 lines
670 B
YAML

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