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/27 16:37:10 UTC

(camel-karavan) 03/03: Cleanup

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

commit 2c5b07a7677d6c813dc11071e2e1f4718f060ab5
Author: Marat Gubaidullin <ma...@talismancloud.io>
AuthorDate: Wed Dec 27 11:36:48 2023 -0500

    Cleanup
---
 karavan-designer/src/designer/property/property/DslPropertyField.css    | 2 +-
 .../java/org/apache/camel/karavan/installer/resources/KaravanRole.java  | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/karavan-designer/src/designer/property/property/DslPropertyField.css b/karavan-designer/src/designer/property/property/DslPropertyField.css
index 3866f7d6..fa823ac1 100644
--- a/karavan-designer/src/designer/property/property/DslPropertyField.css
+++ b/karavan-designer/src/designer/property/property/DslPropertyField.css
@@ -19,7 +19,7 @@
     padding-right: 12px;
 }
 
-.karavan .designer-page .properties .infra-button {
+.karavan .properties .infra-button {
     width: 1em;
     height: 1em;
     vertical-align: -0.125em;
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 a2ca2995..bbeacbb2 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
@@ -30,6 +30,7 @@ public class KaravanRole {
                 .endMetadata()
                 .withRules(
                         new PolicyRuleBuilder().withApiGroups("").withResources("secrets", "configmaps").withVerbs("*").build(),
+                        new PolicyRuleBuilder().withApiGroups("").withResources("serviceaccounts").withVerbs("*").build(),
                         new PolicyRuleBuilder().withApiGroups("").withResources("persistentvolumes", "persistentvolumeclaims").withVerbs("*").build(),
                         new PolicyRuleBuilder().withApiGroups("").withResources("pods", "services", "replicationcontrollers", "pods/exec").withVerbs("*").build(),
                         new PolicyRuleBuilder().withApiGroups("").withResources("endpoints", "ingresses", "ingressclasses", "endpointslices").withVerbs("*").build(),