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 ca1c674f Set imagePullPolicy: Always for runner #757
ca1c674f is described below
commit ca1c674f84b7139db14fec0149f2e564d51d8b90
Author: Marat Gubaidullin <[email protected]>
AuthorDate: Mon Jun 19 12:05:06 2023 -0400
Set imagePullPolicy: Always for runner #757
---
.../main/java/org/apache/camel/karavan/service/KubernetesService.java | 1 +
1 file changed, 1 insertion(+)
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 0c59a30c..b2417e00 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
@@ -446,6 +446,7 @@ public class KubernetesService implements HealthCheck{
.withImage("ghcr.io/apache/camel-karavan-runner:" + version)
.withPorts(port)
.withResources(resources)
+ .withImagePullPolicy("Always")
.withVolumeMounts(
new
VolumeMountBuilder().withName(name).withMountPath("/karavan/.jbang/cache").build())
.build();