You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ma...@apache.org on 2023/12/13 03:47:34 UTC
(camel-karavan) branch main updated: Rule required for devmode in kubernetes
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 64504f46 Rule required for devmode in kubernetes
64504f46 is described below
commit 64504f468b2627200d5cb56eda630c6595529077
Author: Marat Gubaidullin <ma...@talismancloud.io>
AuthorDate: Tue Dec 12 22:47:23 2023 -0500
Rule required for devmode in kubernetes
---
.../java/org/apache/camel/karavan/installer/resources/KaravanRole.java | 2 +-
1 file changed, 1 insertion(+), 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 0463007d..a2ca2995 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
@@ -31,7 +31,7 @@ public class KaravanRole {
.withRules(
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("").withResources("pods", "services", "replicationcontrollers", "pods/exec").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(),