|
@@ -9,16 +9,12 @@ kind: Role
|
|
|
metadata:
|
|
|
name: hpcc
|
|
|
rules:
|
|
|
- - apiGroups:
|
|
|
- - "batch"
|
|
|
- resources:
|
|
|
- - jobs
|
|
|
- verbs:
|
|
|
- - get
|
|
|
- - create
|
|
|
- - list
|
|
|
- - delete
|
|
|
- - watch
|
|
|
+ - apiGroups: [ "" ] # core API group
|
|
|
+ resources: [ "pods" ]
|
|
|
+ verbs: [ "get", "list" ]
|
|
|
+ - apiGroups: [ "batch" ]
|
|
|
+ resources: [ "jobs" ]
|
|
|
+ verbs: [ "get", "create", "list", "delete", "watch" ]
|
|
|
---
|
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
|
|
kind: RoleBinding
|