camel-k-operator service-account needs to access OLM
* The tekton test uses the camel-k-operator sa for installing the kamel
operator but lacks the necessary permissions for accessing the OLM, inc.
clusterserviceversion and subscription.
@@ -165,3 +165,24 @@ rules:
- patch
- update
- watch
+- apiGroups:
+ - operators.coreos.com
+ resources:
+ - operatorgroups
+ - subscriptions
+ - installplans
+ verbs:
+ - create
+ - delete
+ - update
+ - get
+ - list
+ - watch
+- apiGroups:
+ - operators.coreos.com
+ resources:
+ - clusterserviceversions
+ verbs:
+ - get
+ - list
+ - watch
