Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions helm-chart/kuberay-operator/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -177,8 +177,6 @@ rules:
- create
- get
- list
- patch
- update
- watch
- apiGroups:
- ""
Expand Down
2 changes: 0 additions & 2 deletions ray-operator/config/rbac/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,6 @@ rules:
- create
- get
- list
- patch
- update
- watch
- apiGroups:
- ""
Expand Down
5 changes: 3 additions & 2 deletions ray-operator/controllers/ray/raycluster_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ type RayClusterReconcilerOptions struct {
// +kubebuilder:rbac:groups=core,resources=pods,verbs=get;list;watch;create;update;patch;delete;deletecollection
// +kubebuilder:rbac:groups=core,resources=pods/status,verbs=get;list;watch;create;update;patch;delete
// +kubebuilder:rbac:groups=core,resources=pods/resize,verbs=patch
// +kubebuilder:rbac:groups=core,resources=secrets,verbs=get;list;watch;create;update;patch
// +kubebuilder:rbac:groups=core,resources=secrets,verbs=get;list;watch;create;
// +kubebuilder:rbac:groups=core,resources=services,verbs=get;list;watch;create;update;patch;delete
// +kubebuilder:rbac:groups=core,resources=services/status,verbs=get;update;patch
// +kubebuilder:rbac:groups=coordination.k8s.io,resources=leases,verbs=get;list;create;update
Expand Down Expand Up @@ -1446,7 +1446,8 @@ func (r *RayClusterReconciler) SetupWithManager(mgr ctrl.Manager, reconcileConcu
predicate.AnnotationChangedPredicate{},
))).
Owns(&corev1.Pod{}).
Owns(&corev1.Service{})
Owns(&corev1.Service{}).
Owns(&corev1.Secret{})
if r.options.BatchSchedulerManager != nil {
r.options.BatchSchedulerManager.ConfigureReconciler(b)
}
Expand Down
Loading