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/06/07 19:19:51 UTC

[camel-karavan] branch main updated: Fix #716

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 7287e40d Fix #716
7287e40d is described below

commit 7287e40d9308ade0cf48b8df4154cbc98c48f25b
Author: Marat Gubaidullin <ma...@gmail.com>
AuthorDate: Wed Jun 7 15:19:44 2023 -0400

    Fix #716
---
 .../org/apache/camel/karavan/operator/resource/PipelineRoleDeployer.java | 1 +
 1 file changed, 1 insertion(+)

diff --git a/karavan-operator/src/main/java/org/apache/camel/karavan/operator/resource/PipelineRoleDeployer.java b/karavan-operator/src/main/java/org/apache/camel/karavan/operator/resource/PipelineRoleDeployer.java
index 8f0b02d4..92527caa 100644
--- a/karavan-operator/src/main/java/org/apache/camel/karavan/operator/resource/PipelineRoleDeployer.java
+++ b/karavan-operator/src/main/java/org/apache/camel/karavan/operator/resource/PipelineRoleDeployer.java
@@ -42,6 +42,7 @@ public class PipelineRoleDeployer extends CRUDKubernetesDependentResource<Role,
                 .withRules(
                         new PolicyRuleBuilder().withApiGroups("").withResources("secrets", "configmaps", "services", "persistentvolumes", "persistentvolumeclaims").withVerbs("*").build(),
                         new PolicyRuleBuilder().withApiGroups("networking.k8s.io").withResources("ingresses").withVerbs("*").build(),
+                        new PolicyRuleBuilder().withApiGroups("rbac.authorization.k8s.io").withResources("rolebindings").withVerbs("*").build(),
                         new PolicyRuleBuilder().withApiGroups("route.openshift.io").withResources( "routes").withVerbs("*").build(),
                         new PolicyRuleBuilder().withApiGroups("apps").withResources("deployments").withVerbs("*").build()
                         )