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