You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by as...@apache.org on 2022/01/31 08:58:21 UTC
[camel-k] 10/40: camel-k-operator service-account needs to access OLM
This is an automated email from the ASF dual-hosted git repository.
astefanutti pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-k.git
commit e5dff736665b7d110833a4f4720860b92d16b6fd
Author: phantomjinx <p....@phantomjinx.co.uk>
AuthorDate: Tue Nov 23 18:08:39 2021 +0000
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.
---
config/rbac/operator-role.yaml | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/config/rbac/operator-role.yaml b/config/rbac/operator-role.yaml
index 0941d6e..e505081 100644
--- a/config/rbac/operator-role.yaml
+++ b/config/rbac/operator-role.yaml
@@ -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