# Editing system:kube-scheduler cluster role without patching

**URL:** <https://forums.suse.com/t/editing-system-kube-scheduler-cluster-role-without-patching/38239>\
**Category:** General\
**Created:** [June 22, 2022, 3:57pm UTC](https://forums.suse.com/t/editing-system-kube-scheduler-cluster-role-without-patching/38239 "2022-06-22T15:57:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rabea](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/rabea/32/9142_2.png) [@Rabea](https://forums.suse.com/u/Rabea)\
**Post date:** [June 22, 2022, 3:57pm UTC](https://forums.suse.com/t/editing-system-kube-scheduler-cluster-role-without-patching/38239/1 "2022-06-22T15:57:20Z")

</div>

Hi  
how I can add some yaml as add-on to my rke cluster.yml so I can patch the system:kube-scheduler role?  
for example I want to add the ability to list and watch (new verbs) to the endpoints resource  
PolicyRule:  
Resources Non-Resource URLs Resource Names Verbs  
endpoints [kube-scheduler] [get update delete patch]

what I don’t want to do is to use the kubectl patch or have a local yaml file with the full description of the system:kube-scheduler cluster role.  
I mean I want to patch the system:kube-scheduler cluster role that comes with rke, but without the need to run a script manually afterwards , so I was wondering if there is something similar to add-ons that will let me add kubectl commands to the cluster.yml or other file and the rancher up command will deal with it ?
