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/19 16:05:14 UTC

[camel-karavan] branch main updated: Set imagePullPolicy: Always 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 ca1c674f Set imagePullPolicy: Always for runner #757
ca1c674f is described below

commit ca1c674f84b7139db14fec0149f2e564d51d8b90
Author: Marat Gubaidullin <ma...@gmail.com>
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();