Skip to content

Commit

Permalink
notebooks: Allow event patch in notebook controller
Browse files Browse the repository at this point in the history
  • Loading branch information
henrysecond1 committed Jun 17, 2022
1 parent eb3a27a commit 4a39e2d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions components/notebook-controller/config/rbac/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ rules:
- create
- get
- list
- patch
- watch
- apiGroups:
- ""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ type NotebookReconciler struct {
}

// +kubebuilder:rbac:groups=core,resources=pods,verbs=get;list;watch
// +kubebuilder:rbac:groups=core,resources=events,verbs=get;list;watch;create
// +kubebuilder:rbac:groups=core,resources=events,verbs=get;list;watch;create;patch
// +kubebuilder:rbac:groups=core,resources=services,verbs="*"
// +kubebuilder:rbac:groups=apps,resources=statefulsets,verbs="*"
// +kubebuilder:rbac:groups=kubeflow.org,resources=notebooks;notebooks/status;notebooks/finalizers,verbs="*"
Expand Down

0 comments on commit 4a39e2d

Please sign in to comment.