Skip to content

Commit

Permalink
Merge pull request #259 from kannon92/automated-cherry-pick-of-#248-u…
Browse files Browse the repository at this point in the history
…pstream-release-0.2

Automated cherry pick of #248: add patch rbac for events
  • Loading branch information
k8s-ci-robot committed Aug 16, 2023
2 parents ebfced0 + de81d88 commit 8e0727e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions config/components/rbac/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ rules:
- events
verbs:
- create
- patch
- update
- watch
- apiGroups:
Expand Down
2 changes: 1 addition & 1 deletion pkg/controllers/jobset_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ func NewJobSetReconciler(client client.Client, scheme *runtime.Scheme, record re
return &JobSetReconciler{Client: client, Scheme: scheme, Record: record}
}

//+kubebuilder:rbac:groups="",resources=events,verbs=create;watch;update
//+kubebuilder:rbac:groups="",resources=events,verbs=create;watch;update;patch
//+kubebuilder:rbac:groups=jobset.x-k8s.io,resources=jobsets,verbs=get;list;watch;create;update;patch;delete
//+kubebuilder:rbac:groups=jobset.x-k8s.io,resources=jobsets/status,verbs=get;update;patch
//+kubebuilder:rbac:groups=jobset.x-k8s.io,resources=jobsets/finalizers,verbs=update
Expand Down

0 comments on commit 8e0727e

Please sign in to comment.