mirror of
https://github.com/wassname/ray.git
synced 2026-07-27 11:26:41 +08:00
add role rbac and add add guide (#7091)
This commit is contained in:
@@ -51,6 +51,7 @@ type RayClusterReconciler struct {
|
||||
// +kubebuilder:rbac:groups=core,resources=pods,verbs=get;list;watch;create;update;patch;delete
|
||||
// +kubebuilder:rbac:groups=core,resources=pods/status,verbs=get;list;watch;create;update;patch;delete
|
||||
// +kubebuilder:rbac:groups=core,resources=services,verbs=get;list;watch;create;update;patch;delete
|
||||
|
||||
func (r *RayClusterReconciler) Reconcile(request reconcile.Request) (reconcile.Result, error) {
|
||||
_ = r.Log.WithValues("raycluster", request.NamespacedName)
|
||||
log.Info("Reconciling RayCluster", "cluster name", request.Name)
|
||||
|
||||
Reference in New Issue
Block a user