apiVersion: v1 kind: ServiceAccount metadata: name: openclaw namespace: openclaw --- apiVersion: rbac.authorization.k8s.io/v1 kind: Role metadata: name: openclaw-basic namespace: openclaw 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 metadata: name: openclaw-basic namespace: openclaw subjects: - kind: ServiceAccount name: openclaw roleRef: apiGroup: rbac.authorization.k8s.io kind: Role name: openclaw-basic