File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ metadata:
55 name : manager-role
66rules :
77- apiGroups :
8- - runtime.kwasm.sh
8+ - batch
99 resources :
1010 - jobs
1111 verbs :
@@ -17,13 +17,13 @@ rules:
1717 - update
1818 - watch
1919- apiGroups :
20- - runtime.kwasm.sh
20+ - batch
2121 resources :
2222 - jobs/finalizers
2323 verbs :
2424 - update
2525- apiGroups :
26- - runtime.kwasm.sh
26+ - batch
2727 resources :
2828 - jobs/status
2929 verbs :
Original file line number Diff line number Diff line change @@ -36,9 +36,9 @@ type JobReconciler struct {
3636 Scheme * runtime.Scheme
3737}
3838
39- //+kubebuilder:rbac:groups=runtime.kwasm.sh ,resources=jobs,verbs=get;list;watch;create;update;patch;delete
40- //+kubebuilder:rbac:groups=runtime.kwasm.sh ,resources=jobs/status,verbs=get;update;patch
41- //+kubebuilder:rbac:groups=runtime.kwasm.sh ,resources=jobs/finalizers,verbs=update
39+ //+kubebuilder:rbac:groups=batch ,resources=jobs,verbs=get;list;watch;create;update;patch;delete
40+ //+kubebuilder:rbac:groups=batch ,resources=jobs/status,verbs=get;update;patch
41+ //+kubebuilder:rbac:groups=batch ,resources=jobs/finalizers,verbs=update
4242
4343// SetupWithManager sets up the controller with the Manager.
4444func (jr * JobReconciler ) SetupWithManager (mgr ctrl.Manager ) error {
You can’t perform that action at this time.
0 commit comments