Skip to content

Commit 1380bcc

Browse files
Fiona-Watersopenshift-merge-robot
authored andcommitted
updating rbacs
1 parent cd43ff5 commit 1380bcc

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

Diff for: config/rbac/role.yaml

+7
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,13 @@ rules:
9696
- get
9797
- patch
9898
- update
99+
- apiGroups:
100+
- config.openshift.io
101+
resources:
102+
- clusterversions
103+
verbs:
104+
- get
105+
- list
99106
- apiGroups:
100107
- coordination.k8s.io
101108
resources:

Diff for: controllers/instascale_controller.go

+1
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ func (r *InstaScaleReconciler) Apply(owner mf.Owner, params *InstaScaleParams, t
9090
// +kubebuilder:rbac:groups=rbac.authorization.k8s.io,resources=clusterroles;clusterrolebindings,verbs=get;list;watch;create;update;delete
9191
// +kubebuilder:rbac:groups=machine.openshift.io,resources=*,verbs=get;list;watch;create;update;patch;delete
9292
// +kubebuilder:rbac:groups=mcad.ibm.com,resources=appwrappers;queuejobs;schedulingspecs,verbs=get;list;watch;create;update;patch;delete
93+
// +kubebuilder:rbac:groups=config.openshift.io,resources=clusterversions,verbs=get;list
9394

9495
// Reconcile is part of the main kubernetes reconciliation loop which aims to
9596
// move the current state of the cluster closer to the desired state.

0 commit comments

Comments
 (0)