Initial OpenClaw GitOps skeleton
This commit is contained in:
30
manifests/serviceaccount-rbac.yaml
Normal file
30
manifests/serviceaccount-rbac.yaml
Normal 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
|
||||
Reference in New Issue
Block a user