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/15 22:22:45 UTC
[camel-karavan] branch main updated: Set correct image for runner #757
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 55c9120a Set correct image for runner #757
55c9120a is described below
commit 55c9120aa90117c69506c3887ca4487845a5f16a
Author: Marat Gubaidullin <ma...@gmail.com>
AuthorDate: Thu Jun 15 18:22:37 2023 -0400
Set correct image for runner #757
---
.../java/org/apache/camel/karavan/service/KubernetesService.java | 6 ++++--
1 file changed, 4 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 02ae8f03..b6c5df2b 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
@@ -89,6 +89,9 @@ public class KubernetesService implements HealthCheck{
@ConfigProperty(name = "karavan.environment")
public String environment;
+ @ConfigProperty(name = "karavan.version")
+ String version;
+
List<SharedIndexInformer> informers = new ArrayList<>(INFORMERS);
@@ -440,8 +443,7 @@ public class KubernetesService implements HealthCheck{
Container container = new ContainerBuilder()
.withName(name)
- .withImage("entropy1/camel-karavan-runner")
-// .withImage("ghcr.io/apache/camel-karavan-runner:3.20.2-snapshot")
+ .withImage("ghcr.io/apache/camel-karavan-runner:" + version)
.withPorts(port)
.withResources(resources)
.withVolumeMounts(