Expand RBAC: allow openclaw SA to create/update secrets in openclaw namespace
This commit is contained in:
@@ -4,8 +4,6 @@ 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:
|
||||
@@ -15,6 +13,9 @@ rules:
|
||||
- apiGroups: [""]
|
||||
resources: ["pods", "pods/log"]
|
||||
verbs: ["get", "list", "watch"]
|
||||
- apiGroups: [""]
|
||||
resources: ["secrets"]
|
||||
verbs: ["get", "list", "watch", "create", "update", "patch"]
|
||||
---
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: RoleBinding
|
||||
|
||||
Reference in New Issue
Block a user