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 2022/11/09 03:35:14 UTC

[camel-karavan] 02/04: Springboot Deployment to Kubernetes and Openshift in VS Code

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 6b38fa1c79cba7da7c08d63631ec434a703e1dd2
Author: Marat Gubaidullin <ma...@gmail.com>
AuthorDate: Tue Nov 8 22:18:23 2022 -0500

    Springboot Deployment to Kubernetes and Openshift in VS Code
---
 karavan-vscode/package.json | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/karavan-vscode/package.json b/karavan-vscode/package.json
index 5f89c12..eb6f9ce 100644
--- a/karavan-vscode/package.json
+++ b/karavan-vscode/package.json
@@ -263,7 +263,7 @@
             "jkube.build.strategy=s2i",
             "jkube.namespace=${NAMESPACE}",
             "jkube.generator.name=$NAME:${DATE}",
-            "jkube.imagePullPolicy=Always"
+            "jkube.imagePullPolicy=IfNotPresent"
           ],
           "description": "application.properties template for camel-springboot on Kubernetes",
           "scope": "machine",
@@ -279,10 +279,10 @@
             "camel.jbang.dependencies=camel:microprofile-health",
             "# jkube properties",
             "jkube.version=1.9.1",
-            "jkube.build.strategy=jib",
-            "jkube.namespace=${NAMESPACE}",
-            "jkube.generator.name=$NAME:${DATE}",
-            "jkube.imagePullPolicy=Always",
+            "jkube.build.strategy=docker",
+            "jkube.namespace=default",
+            "jkube.generator.name=default/$NAME:${DATE}",
+            "jkube.imagePullPolicy=IfNotPresent",
             "jkube.enricher.jkube-controller.type=Deployment",
             "jkube.enricher.jkube-controller.replicaCount=1"
           ],