This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/main by this push:
     new dec05c0f0c4 CAMEL-20720: Update Camel K plugin command to CK 2.3.0 
(#13963)
dec05c0f0c4 is described below

commit dec05c0f0c4758fd089959988cb27ab6ca8468f2
Author: Christoph Deppisch <cdeppi...@redhat.com>
AuthorDate: Fri Apr 26 15:00:29 2024 +0200

    CAMEL-20720: Update Camel K plugin command to CK 2.3.0 (#13963)
---
 .../camel/dsl/jbang/core/commands/k/BindTest.java  |  1 -
 .../jbang/core/commands/k/IntegrationRunTest.java  | 24 +++-------------------
 parent/pom.xml                                     |  2 +-
 3 files changed, 4 insertions(+), 23 deletions(-)

diff --git 
a/dsl/camel-jbang/camel-jbang-plugin-k/src/test/java/org/apache/camel/dsl/jbang/core/commands/k/BindTest.java
 
b/dsl/camel-jbang/camel-jbang-plugin-k/src/test/java/org/apache/camel/dsl/jbang/core/commands/k/BindTest.java
index eafc0c209de..182251a59da 100644
--- 
a/dsl/camel-jbang/camel-jbang-plugin-k/src/test/java/org/apache/camel/dsl/jbang/core/commands/k/BindTest.java
+++ 
b/dsl/camel-jbang/camel-jbang-plugin-k/src/test/java/org/apache/camel/dsl/jbang/core/commands/k/BindTest.java
@@ -155,7 +155,6 @@ class BindTest extends KubeBaseTest {
                         mount:
                           configs:
                           - configmap:my-cm
-                          hotReload: false
                   source:
                     ref:
                       kind: Kamelet
diff --git 
a/dsl/camel-jbang/camel-jbang-plugin-k/src/test/java/org/apache/camel/dsl/jbang/core/commands/k/IntegrationRunTest.java
 
b/dsl/camel-jbang/camel-jbang-plugin-k/src/test/java/org/apache/camel/dsl/jbang/core/commands/k/IntegrationRunTest.java
index 318bae74621..a6f2443fcfd 100644
--- 
a/dsl/camel-jbang/camel-jbang-plugin-k/src/test/java/org/apache/camel/dsl/jbang/core/commands/k/IntegrationRunTest.java
+++ 
b/dsl/camel-jbang/camel-jbang-plugin-k/src/test/java/org/apache/camel/dsl/jbang/core/commands/k/IntegrationRunTest.java
@@ -88,10 +88,6 @@ class IntegrationRunTest extends KubeBaseTest {
                   traits:
                     container:
                       imagePullPolicy: ALWAYS
-                      name: integration
-                      port: 8080
-                      servicePort: 80
-                      servicePortName: http
                     logging:
                       level: DEBUG""", printer.getOutput());
     }
@@ -162,7 +158,6 @@ class IntegrationRunTest extends KubeBaseTest {
                         - to: log:info
                   traits:
                     mount:
-                      hotReload: false
                       volumes:
                       - /foo
                       - /bar""", printer.getOutput());
@@ -225,8 +220,6 @@ class IntegrationRunTest extends KubeBaseTest {
                         - to: log:info
                   traits:
                     environment:
-                      containerMeta: true
-                      httpProxy: true
                       vars:
                       - CAMEL_FOO=bar""", printer.getOutput());
     }
@@ -287,11 +280,8 @@ class IntegrationRunTest extends KubeBaseTest {
                         - to: log:info
                   traits:
                     builder:
-                      incrementalImageBuild: true
-                      orderStrategy: SEQUENTIAL
                       properties:
-                      - camel.foo=bar
-                      strategy: ROUTINE""", printer.getOutput());
+                      - camel.foo=bar""", printer.getOutput());
     }
 
     @Test
@@ -447,8 +437,7 @@ class IntegrationRunTest extends KubeBaseTest {
                     mount:
                       configs:
                       - secret:foo
-                      - configmap:bar
-                      hotReload: false""", printer.getOutput());
+                      - configmap:bar""", printer.getOutput());
     }
 
     @Test
@@ -477,7 +466,6 @@ class IntegrationRunTest extends KubeBaseTest {
                         - to: log:info
                   traits:
                     mount:
-                      hotReload: false
                       resources:
                       - configmap:foo/file.txt""", printer.getOutput());
     }
@@ -530,11 +518,7 @@ class IntegrationRunTest extends KubeBaseTest {
                 spec:
                   traits:
                     container:
-                      image: quay.io/camel/demo-app:1.0
-                      name: integration
-                      port: 8080
-                      servicePort: 80
-                      servicePortName: http""", printer.getOutput());
+                      image: quay.io/camel/demo-app:1.0""", 
printer.getOutput());
     }
 
     @Test
@@ -568,8 +552,6 @@ class IntegrationRunTest extends KubeBaseTest {
                     affinity:
                       nodeAffinityLabels:
                       - kubernetes.io/hostname
-                      podAffinity: false
-                      podAntiAffinity: false
                     camel:
                       properties:
                       - camel.foo=bar
diff --git a/parent/pom.xml b/parent/pom.xml
index d68d1e01636..d5b082e6ffd 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -90,7 +90,7 @@
         <californium-version>3.11.0</californium-version>
         <californium-scandium-version>3.11.0</californium-scandium-version>
         <camunda-version>7.21.0</camunda-version>
-        <camel-k-version>2.2.0</camel-k-version>
+        <camel-k-version>2.3.0</camel-k-version>
         <cassandra-driver-version>4.17.0</cassandra-driver-version>
         <jta-api-1.2-version>1.2</jta-api-1.2-version>
         <cglib-version>3.3.0</cglib-version>

Reply via email to