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 805c17b6 First prototype for #804
805c17b6 is described below

commit 805c17b64a9766bc0cd05670b12b0c0a3e6bf0c7
Author: Marat Gubaidullin <marat.gubaidul...@gmail.com>
AuthorDate: Wed Jun 21 14:32:52 2023 -0400

    First prototype for #804
---
 .../main/java/org/apache/camel/karavan/service/KubernetesService.java   | 2 +-
 .../java/org/apache/camel/karavan/cli/resources/KaravanConfigMap.java   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/karavan-app/src/main/java/org/apache/camel/karavan/service/KubernetesService.java
 
b/karavan-app/src/main/java/org/apache/camel/karavan/service/KubernetesService.java
index f401a991..47caea63 100644
--- 
a/karavan-app/src/main/java/org/apache/camel/karavan/service/KubernetesService.java
+++ 
b/karavan-app/src/main/java/org/apache/camel/karavan/service/KubernetesService.java
@@ -451,7 +451,7 @@ public class KubernetesService implements HealthCheck{
                 .withResources(resources)
                 .withImagePullPolicy("Always")
                 .withVolumeMounts(
-                        new 
VolumeMountBuilder().withName("maven-settings").withSubPath("maven-settings")
+                        new 
VolumeMountBuilder().withName("maven-settings").withSubPath("maven-settings.xml")
                                 
.withMountPath("/karavan-config-map/maven-settings.xml").build())
                 .build();
 
diff --git 
a/karavan-cli/src/main/java/org/apache/camel/karavan/cli/resources/KaravanConfigMap.java
 
b/karavan-cli/src/main/java/org/apache/camel/karavan/cli/resources/KaravanConfigMap.java
index 94791761..f729f3ca 100644
--- 
a/karavan-cli/src/main/java/org/apache/camel/karavan/cli/resources/KaravanConfigMap.java
+++ 
b/karavan-cli/src/main/java/org/apache/camel/karavan/cli/resources/KaravanConfigMap.java
@@ -42,7 +42,7 @@ public class KaravanConfigMap {
                 .withNamespace(config.getNamespace())
                 .withLabels(ResourceUtils.getLabels(Constants.NAME, 
config.getVersion(), Map.of()))
                 .endMetadata()
-                .withData(Map.of("maven-settings", xml))
+                .withData(Map.of("maven-settings.xml", xml))
                 .build();
     }
 

Reply via email to