Skip to content

Commit 6efc082

Browse files
authored
Merge pull request #271 from danielvegamyhre/automated-cherry-pick-of-#268-upstream-release-0.2
Automated cherry pick of #268: add update/patch rbac verbs for resource jobs/status
2 parents 6380248 + bc10352 commit 6efc082

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

config/components/rbac/role.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@ rules:
5858
- jobs/status
5959
verbs:
6060
- get
61+
- patch
62+
- update
6163
- apiGroups:
6264
- ""
6365
resources:

pkg/controllers/jobset_controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ func NewJobSetReconciler(client client.Client, scheme *runtime.Scheme, record re
7676
//+kubebuilder:rbac:groups=jobset.x-k8s.io,resources=jobsets/status,verbs=get;update;patch
7777
//+kubebuilder:rbac:groups=jobset.x-k8s.io,resources=jobsets/finalizers,verbs=update
7878
//+kubebuilder:rbac:groups=batch,resources=jobs,verbs=get;list;watch;create;update;patch;delete
79-
//+kubebuilder:rbac:groups=batch,resources=jobs/status,verbs=get
79+
//+kubebuilder:rbac:groups=batch,resources=jobs/status,verbs=get;update;patch
8080
//+kubebuilder:rbac:groups=core,resources=services,verbs=get;list;watch;create;update;patch;delete
8181

8282
// Reconcile is part of the main kubernetes reconciliation loop which aims to

0 commit comments

Comments
 (0)