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