This is an automated email from the ASF dual-hosted git repository. marat pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-karavan.git
The following commit(s) were added to refs/heads/main by this push: new 08b97cb5 Fix #974 08b97cb5 is described below commit 08b97cb57117251f62797dc1df94b4a47e905bad Author: Marat Gubaidullin <ma...@talismancloud.io> AuthorDate: Fri Nov 10 15:28:18 2023 -0500 Fix #974 --- .../java/org/apache/camel/karavan/installer/resources/KaravanRole.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/karavan-web/karavan-installer/src/main/java/org/apache/camel/karavan/installer/resources/KaravanRole.java b/karavan-web/karavan-installer/src/main/java/org/apache/camel/karavan/installer/resources/KaravanRole.java index 52eb3f49..0463007d 100644 --- a/karavan-web/karavan-installer/src/main/java/org/apache/camel/karavan/installer/resources/KaravanRole.java +++ b/karavan-web/karavan-installer/src/main/java/org/apache/camel/karavan/installer/resources/KaravanRole.java @@ -32,8 +32,9 @@ public class KaravanRole { new PolicyRuleBuilder().withApiGroups("").withResources("secrets", "configmaps").withVerbs("*").build(), new PolicyRuleBuilder().withApiGroups("").withResources("persistentvolumes", "persistentvolumeclaims").withVerbs("*").build(), new PolicyRuleBuilder().withApiGroups("").withResources("pods", "services", "replicationcontrollers").withVerbs("*").build(), - new PolicyRuleBuilder().withApiGroups("route.openshift.io").withResources("routes").withVerbs("*").build(), + new PolicyRuleBuilder().withApiGroups("").withResources("endpoints", "ingresses", "ingressclasses", "endpointslices").withVerbs("*").build(), new PolicyRuleBuilder().withApiGroups("apps").withResources("deployments").withVerbs("*").build(), + new PolicyRuleBuilder().withApiGroups("route.openshift.io").withResources("routes").withVerbs("*").build(), new PolicyRuleBuilder().withApiGroups("", "image.openshift.io").withResources("imagestreams/layers").withVerbs("get", "update").build() ) .build();