Skip to content

Commit 279bcc7

Browse files
dntosasdastergon
authored andcommitted
Kubernetes Role: Allow more actions on batch/jobs apiGroups
In this commit, we enable more actions on batch/jobs apiGroup for vegeta-operator. As vegeta attacks translated as Job Resources for Kubernetes, operator needs these permissions to do needed actions on them. Signed-off-by: dntosas <ntosas@gmail.com>
1 parent e1a84de commit 279bcc7

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

deploy/role.yaml

+9
Original file line numberDiff line numberDiff line change
@@ -79,3 +79,12 @@ rules:
7979
- patch
8080
- update
8181
- watch
82+
- apiGroups:
83+
- batch
84+
resources:
85+
- jobs
86+
verbs:
87+
- create
88+
- list
89+
- watch
90+
- get

0 commit comments

Comments
 (0)