You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by pc...@apache.org on 2022/03/01 14:34:39 UTC

[camel-k] branch main updated (7baf7bf -> 6719484)

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

pcongiusti pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/camel-k.git.


    from 7baf7bf  Stop make erroring on lack of kubectl
     new 118e352  chore(cmd): remove deprecated flags
     new fee3b91  chore(trait/master): Remove DeprecatedConfigMap
     new b772eb2  chore(api): Remove Timeout in MavenSpec
     new 55d6f67  chore(api): Remove Kit from IntegrationSpec
     new 51ef518  chore(api): Remove Flow from KameletSpec
     new 89a2222  chore: Remove NewFilteredSharedInformerFactory  Ref #2751
     new 02be54b  chore: remove deprecated code
     new ff6e06e  fix(e2e): remove Kit
     new 6dff3e3  fix(e2e): master resource-name instead deprecated configmap
     new 2dd4bd2  chore(kamelets): remove flow from examples, e2e and docs
     new 667367d  chore(api): maintain .kamelet.spec.flow
     new 483eea0  chore: update to v1alpha1.Template
     new 4a0a05a  fix(e2e): use custom timer-source name
     new c9e76b6  fix(ci): upgrade Yaks version
     new b414f22  fix(e2e): skip catalog Kamelets
     new 675bc73  fix(ci): Use `Camel K` instead of `Camel-K` in YAKS steps
     new 2d0a368  fix(ci): Fix YAKS installation
     new 6719484  fix(e2e): use 8080 port

The 18 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .github/actions/e2e-knative-yaks/action.yml        |    9 +-
 .github/actions/e2e-knative-yaks/exec-tests.sh     |    3 -
 .../actions/kamel-install-cluster-setup/action.yml |    2 +-
 .github/actions/kamel-install-yaks/action.yml      |   22 +-
 .../actions/kamel-preflight-test/preflight-test.sh |    2 +-
 addons/master/master.go                            |   33 +-
 config/crd/bases/camel.apache.org_builds.yaml      |    4 -
 .../camel.apache.org_integrationplatforms.yaml     |    8 -
 .../crd/bases/camel.apache.org_integrations.yaml   |    6 -
 .../bases/camel.apache.org_kameletbindings.yaml    |    3 -
 config/samples/bases/camel_v1_kamelet.yaml         |    2 +-
 docs/modules/ROOT/nav-end.adoc                     |    2 +-
 .../ROOT/pages/configuration/runtime-config.adoc   |    8 +-
 .../pages/configuration/runtime-resources.adoc     |    8 +-
 docs/modules/ROOT/pages/index.adoc                 |    6 +-
 docs/modules/ROOT/pages/kamelets/kamelets-dev.adoc |   22 +-
 .../modules/ROOT/pages/kamelets/kamelets-user.adoc |    6 +-
 docs/modules/ROOT/partials/apis/camel-k-crds.adoc  |   42 -
 docs/modules/ROOT/partials/apis/crds-html.adoc     | 6673 ++++++++++++++++++++
 docs/modules/ROOT/partials/apis/kamelets-crds.adoc |   50 +-
 docs/modules/traits/pages/master.adoc              |    8 +-
 e2e/common/cli/get_test.go                         |    2 +-
 e2e/common/files/timer-source.kamelet.yaml         |    2 +-
 e2e/common/languages/java_test.go                  |    2 +-
 e2e/common/traits/master_test.go                   |    2 +-
 .../service_binding_kamelet_test.go                |    8 +-
 e2e/support/test_support.go                        |    8 +-
 e2e/upgrade/olm_upgrade_test.go                    |    7 +-
 .../common/apache-kamelet-catalog/kamelet.feature  |    6 +-
 e2e/yaks/common/kamelet-beans/kamelet.feature      |    6 +-
 .../kamelet-autoload-specific.feature              |    4 +-
 .../kamelet-autoload.feature                       |    2 +-
 .../timer-source.kamelet.yaml                      |    2 +-
 .../kamelet-binding-autoload/yaks-config.yaml      |    2 +-
 .../common/kamelet-binding-broker/kamelet.feature  |    6 +-
 .../logger-sink.kamelet.yaml                       |    2 +-
 .../timer-source.kamelet.yaml                      |    2 +-
 .../common/kamelet-binding-broker/yaks-config.yaml |    2 +-
 .../common/kamelet-binding-http/kamelet.feature    |    8 +-
 .../kamelet-binding-http/timer-source.kamelet.yaml |    2 +-
 .../common/kamelet-binding-http/yaks-config.yaml   |    2 +-
 .../properties.feature                             |    4 +-
 .../timer-source.kamelet.yaml                      |    2 +-
 .../yaks-config.yaml                               |    2 +-
 e2e/yaks/common/kamelet-binding/kamelet.feature    |    6 +-
 .../kamelet-binding/logger-sink.kamelet.yaml       |    2 +-
 .../kamelet-binding/timer-source.kamelet.yaml      |    2 +-
 e2e/yaks/common/kamelet-binding/yaks-config.yaml   |    2 +-
 .../kamelet-no-properties/kamelet-no-props.feature |    8 +-
 .../kamelet-steps/prefix-action.kamelet.yaml       |    2 +-
 .../common/kamelet-steps/steps-binding.feature     |    6 +-
 .../common/kamelet-steps/timer-source.kamelet.yaml |    2 +-
 e2e/yaks/common/kamelet-steps/yaks-config.yaml     |    2 +-
 e2e/yaks/common/kamelet/echo-sink.kamelet.yaml     |    2 +-
 e2e/yaks/common/kamelet/kamelet.feature            |    6 +-
 e2e/yaks/common/kamelet/timer-source.kamelet.yaml  |    2 +-
 e2e/yaks/common/kamelet/yaks-config.yaml           |    2 +-
 .../common/knative-broker/knative-broker.feature   |   34 +-
 .../common/knative-sinkbinding/sinkbinding.feature |    6 +-
 e2e/yaks/openshift/monitoring/alerting.feature     |    8 +-
 e2e/yaks/openshift/monitoring/metrics.feature      |    6 +-
 examples/kafka/README.md                           |    2 +-
 examples/kafka/sasl_ssl/README.md                  |    4 +-
 examples/kafka/sasl_ssl/SaslSSLKafkaConsumer.java  |    2 +-
 examples/kafka/sasl_ssl/SaslSSLKafkaProducer.java  |    2 +-
 .../error-handler/error-handler.kamelet.yaml       |    2 +-
 .../incremental-id-source.kamelet.yaml             |    2 +-
 .../kamelets/error-handler/log-sink.kamelet.yaml   |    2 +-
 examples/kamelets/error-handler/readme.md          |    4 +-
 .../kameletbindings/env-var-writer.kamelet.yaml    |    2 +-
 .../timer-source-log-sink/log-sink.kamelet.yaml    |    2 +-
 .../timer-source.kamelet.yaml                      |    2 +-
 .../timer-source/timer-source.kamelet.yaml         |    2 +-
 helm/camel-k/README.md                             |    2 +-
 helm/camel-k/crds/crd-build.yaml                   |    4 -
 helm/camel-k/crds/crd-integration-platform.yaml    |    8 -
 helm/camel-k/crds/crd-integration.yaml             |    6 -
 helm/camel-k/crds/crd-kamelet-binding.yaml         |    3 -
 pkg/apis/camel/v1/integration_types.go             |   16 +-
 pkg/apis/camel/v1/maven_types.go                   |    3 -
 pkg/apis/camel/v1/zz_generated.deepcopy.go         |   12 +-
 pkg/apis/camel/v1alpha1/kamelet_types.go           |    2 +-
 .../camel/informers/externalversions/factory.go    |    8 -
 pkg/cmd/local_run.go                               |    2 +-
 pkg/cmd/run.go                                     |   42 +-
 pkg/cmd/run_test.go                                |   52 -
 pkg/controller/integration/initialize.go           |    9 -
 pkg/resources/resources.go                         |   28 +-
 pkg/trait/container.go                             |    6 -
 pkg/trait/container_test.go                        |   51 -
 pkg/trait/kamelets_test.go                         |   26 +-
 pkg/util/resource/config.go                        |   13 +-
 release.adoc                                       |    4 +-
 resources/templates/kamelet.tmpl                   |    2 +-
 resources/traits.yaml                              |    9 +-
 95 files changed, 6936 insertions(+), 502 deletions(-)
 create mode 100644 docs/modules/ROOT/partials/apis/crds-html.adoc

[camel-k] 10/18: chore(kamelets): remove flow from examples, e2e and docs

Posted by pc...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 2dd4bd2205d92cf9ea4e85f34a73a6c3ead4e658
Author: Pasquale Congiusti <pa...@gmail.com>
AuthorDate: Thu Jan 27 15:32:15 2022 +0100

    chore(kamelets): remove flow from examples, e2e and docs
---
 config/samples/bases/camel_v1_kamelet.yaml         |  2 +-
 docs/modules/ROOT/pages/kamelets/kamelets-dev.adoc | 14 +++++------
 .../modules/ROOT/pages/kamelets/kamelets-user.adoc |  4 ++--
 e2e/common/files/timer-source.kamelet.yaml         |  2 +-
 .../timer-source.kamelet.yaml                      |  2 +-
 .../logger-sink.kamelet.yaml                       |  2 +-
 .../timer-source.kamelet.yaml                      |  2 +-
 .../kamelet-binding-http/timer-source.kamelet.yaml |  2 +-
 .../timer-source.kamelet.yaml                      |  2 +-
 .../kamelet-binding/logger-sink.kamelet.yaml       |  2 +-
 .../kamelet-binding/timer-source.kamelet.yaml      |  2 +-
 .../kamelet-steps/prefix-action.kamelet.yaml       |  2 +-
 .../common/kamelet-steps/timer-source.kamelet.yaml |  2 +-
 e2e/yaks/common/kamelet/echo-sink.kamelet.yaml     |  2 +-
 e2e/yaks/common/kamelet/timer-source.kamelet.yaml  |  2 +-
 .../error-handler/error-handler.kamelet.yaml       |  2 +-
 .../incremental-id-source.kamelet.yaml             |  2 +-
 .../kamelets/error-handler/log-sink.kamelet.yaml   |  2 +-
 examples/kamelets/error-handler/readme.md          |  2 +-
 .../kameletbindings/env-var-writer.kamelet.yaml    |  2 +-
 .../timer-source-log-sink/log-sink.kamelet.yaml    |  2 +-
 .../timer-source.kamelet.yaml                      |  2 +-
 .../timer-source/timer-source.kamelet.yaml         |  2 +-
 pkg/resources/resources.go                         | 28 +++++++++++-----------
 resources/templates/kamelet.tmpl                   |  2 +-
 25 files changed, 45 insertions(+), 45 deletions(-)

diff --git a/config/samples/bases/camel_v1_kamelet.yaml b/config/samples/bases/camel_v1_kamelet.yaml
index 8fbc89a..b40b661 100644
--- a/config/samples/bases/camel_v1_kamelet.yaml
+++ b/config/samples/bases/camel_v1_kamelet.yaml
@@ -35,7 +35,7 @@ spec:
     required:
     - message
     title: Example Timer
-  flow:
+  template:
     from:
       parameters:
         period: "#property:period"
diff --git a/docs/modules/ROOT/pages/kamelets/kamelets-dev.adoc b/docs/modules/ROOT/pages/kamelets/kamelets-dev.adoc
index 2904ec0..ef51466 100644
--- a/docs/modules/ROOT/pages/kamelets/kamelets-dev.adoc
+++ b/docs/modules/ROOT/pages/kamelets/kamelets-dev.adoc
@@ -75,7 +75,7 @@ spec:
   types:
     out:
       mediaType: text/plain
-  flow:
+  template:
     from:
       uri: timer:tick
       parameters:
@@ -98,7 +98,7 @@ kind: Kamelet
 # ...
 spec:
 # ...
-  flow:
+  template:
     from:
       uri: "twitter-search:{{keywords}}" # <1>
       parameters:
@@ -253,7 +253,7 @@ spec:
   types: # <2>
     out:
       mediaType: application/json
-  flow: # <3>
+  template: # <3>
     from:
       uri: "twitter-search:{{keywords}}"
       parameters:
@@ -665,7 +665,7 @@ metadata:
   labels:
     camel.apache.org/kamelet.type: "source"
 spec:
-  flow: # <1>
+  template: # <1>
     from:
       uri: "timer:earthquake"
       parameters:
@@ -752,7 +752,7 @@ spec:
         description: The amount of minutes to look ahead when starting the integration afresh
         type: integer
         default: 120
-  flow:
+  template:
     from:
       uri: "timer:earthquake"
       # ...
@@ -802,7 +802,7 @@ spec:
   dependencies: # <4>
     - camel-quarkus:caffeine
     - camel-quarkus:http
-  flow:
+  template:
     from:
       uri: "timer:earthquake"
       parameters:
@@ -1131,7 +1131,7 @@ spec:
   types: # <2>
     out:
       mediaType: application/json
-  flow: # <3>
+  template: # <3>
     from:
       uri: "kamelet:source"
       steps:
diff --git a/docs/modules/ROOT/pages/kamelets/kamelets-user.adoc b/docs/modules/ROOT/pages/kamelets/kamelets-user.adoc
index b200d6f..34643b3 100644
--- a/docs/modules/ROOT/pages/kamelets/kamelets-user.adoc
+++ b/docs/modules/ROOT/pages/kamelets/kamelets-user.adoc
@@ -73,7 +73,7 @@ spec:
     out:
       mediaType: text/plain
       # schema:
-  flow: # <6>
+  template: # <6>
     from:
       uri: telegram:bots
       parameters:
@@ -587,7 +587,7 @@ For example:
 ----
 spec:
   # ...
-  flow:
+  template:
     from:
       uri: telegram:bots
       parameters:
diff --git a/e2e/common/files/timer-source.kamelet.yaml b/e2e/common/files/timer-source.kamelet.yaml
index 3c09572..63d9b30 100644
--- a/e2e/common/files/timer-source.kamelet.yaml
+++ b/e2e/common/files/timer-source.kamelet.yaml
@@ -55,7 +55,7 @@ spec:
     - "camel:core"
     - "camel:timer"
     - "camel:kamelet"
-  flow:
+  template:
     from:
       uri: timer:tick
       parameters:
diff --git a/e2e/yaks/common/kamelet-binding-autoload/timer-source.kamelet.yaml b/e2e/yaks/common/kamelet-binding-autoload/timer-source.kamelet.yaml
index eb74334..a89ecb1 100644
--- a/e2e/yaks/common/kamelet-binding-autoload/timer-source.kamelet.yaml
+++ b/e2e/yaks/common/kamelet-binding-autoload/timer-source.kamelet.yaml
@@ -37,7 +37,7 @@ spec:
         title: Message
         description: The message to generate
         type: string
-  flow:
+  template:
     from:
       uri: timer:tick
       parameters:
diff --git a/e2e/yaks/common/kamelet-binding-broker/logger-sink.kamelet.yaml b/e2e/yaks/common/kamelet-binding-broker/logger-sink.kamelet.yaml
index 9f17e7d..9ffc837 100644
--- a/e2e/yaks/common/kamelet-binding-broker/logger-sink.kamelet.yaml
+++ b/e2e/yaks/common/kamelet-binding-broker/logger-sink.kamelet.yaml
@@ -36,7 +36,7 @@ spec:
       mediaType: text/plain
     out:
       mediaType: text/plain
-  flow:
+  template:
     from:
       uri: "kamelet:source"
       steps:
diff --git a/e2e/yaks/common/kamelet-binding-broker/timer-source.kamelet.yaml b/e2e/yaks/common/kamelet-binding-broker/timer-source.kamelet.yaml
index a08cecf..268ca01 100644
--- a/e2e/yaks/common/kamelet-binding-broker/timer-source.kamelet.yaml
+++ b/e2e/yaks/common/kamelet-binding-broker/timer-source.kamelet.yaml
@@ -43,7 +43,7 @@ spec:
       schema:
         id: text.camel.apache.org
         type: string
-  flow:
+  template:
     from:
       uri: timer:tick
       parameters:
diff --git a/e2e/yaks/common/kamelet-binding-http/timer-source.kamelet.yaml b/e2e/yaks/common/kamelet-binding-http/timer-source.kamelet.yaml
index a08cecf..268ca01 100644
--- a/e2e/yaks/common/kamelet-binding-http/timer-source.kamelet.yaml
+++ b/e2e/yaks/common/kamelet-binding-http/timer-source.kamelet.yaml
@@ -43,7 +43,7 @@ spec:
       schema:
         id: text.camel.apache.org
         type: string
-  flow:
+  template:
     from:
       uri: timer:tick
       parameters:
diff --git a/e2e/yaks/common/kamelet-binding-property-encoding/timer-source.kamelet.yaml b/e2e/yaks/common/kamelet-binding-property-encoding/timer-source.kamelet.yaml
index a9342e2..987a5b8 100644
--- a/e2e/yaks/common/kamelet-binding-property-encoding/timer-source.kamelet.yaml
+++ b/e2e/yaks/common/kamelet-binding-property-encoding/timer-source.kamelet.yaml
@@ -55,7 +55,7 @@ spec:
     - "camel:core"
     - "camel:timer"
     - "camel:kamelet"
-  flow:
+  template:
     from:
       uri: timer:tick
       parameters:
diff --git a/e2e/yaks/common/kamelet-binding/logger-sink.kamelet.yaml b/e2e/yaks/common/kamelet-binding/logger-sink.kamelet.yaml
index 9f17e7d..9ffc837 100644
--- a/e2e/yaks/common/kamelet-binding/logger-sink.kamelet.yaml
+++ b/e2e/yaks/common/kamelet-binding/logger-sink.kamelet.yaml
@@ -36,7 +36,7 @@ spec:
       mediaType: text/plain
     out:
       mediaType: text/plain
-  flow:
+  template:
     from:
       uri: "kamelet:source"
       steps:
diff --git a/e2e/yaks/common/kamelet-binding/timer-source.kamelet.yaml b/e2e/yaks/common/kamelet-binding/timer-source.kamelet.yaml
index a08cecf..268ca01 100644
--- a/e2e/yaks/common/kamelet-binding/timer-source.kamelet.yaml
+++ b/e2e/yaks/common/kamelet-binding/timer-source.kamelet.yaml
@@ -43,7 +43,7 @@ spec:
       schema:
         id: text.camel.apache.org
         type: string
-  flow:
+  template:
     from:
       uri: timer:tick
       parameters:
diff --git a/e2e/yaks/common/kamelet-steps/prefix-action.kamelet.yaml b/e2e/yaks/common/kamelet-steps/prefix-action.kamelet.yaml
index 2579029..9c0cdbf 100644
--- a/e2e/yaks/common/kamelet-steps/prefix-action.kamelet.yaml
+++ b/e2e/yaks/common/kamelet-steps/prefix-action.kamelet.yaml
@@ -37,7 +37,7 @@ spec:
       mediaType: text/plain
     out:
       mediaType: text/plain
-  flow:
+  template:
     from:
       uri: "kamelet:source"
       steps:
diff --git a/e2e/yaks/common/kamelet-steps/timer-source.kamelet.yaml b/e2e/yaks/common/kamelet-steps/timer-source.kamelet.yaml
index a08cecf..268ca01 100644
--- a/e2e/yaks/common/kamelet-steps/timer-source.kamelet.yaml
+++ b/e2e/yaks/common/kamelet-steps/timer-source.kamelet.yaml
@@ -43,7 +43,7 @@ spec:
       schema:
         id: text.camel.apache.org
         type: string
-  flow:
+  template:
     from:
       uri: timer:tick
       parameters:
diff --git a/e2e/yaks/common/kamelet/echo-sink.kamelet.yaml b/e2e/yaks/common/kamelet/echo-sink.kamelet.yaml
index a2c09f4..ec70cb4 100644
--- a/e2e/yaks/common/kamelet/echo-sink.kamelet.yaml
+++ b/e2e/yaks/common/kamelet/echo-sink.kamelet.yaml
@@ -36,7 +36,7 @@ spec:
       mediaType: text/plain
     out:
       mediaType: text/plain
-  flow:
+  template:
     from:
       uri: "kamelet:source"
       steps:
diff --git a/e2e/yaks/common/kamelet/timer-source.kamelet.yaml b/e2e/yaks/common/kamelet/timer-source.kamelet.yaml
index a08cecf..268ca01 100644
--- a/e2e/yaks/common/kamelet/timer-source.kamelet.yaml
+++ b/e2e/yaks/common/kamelet/timer-source.kamelet.yaml
@@ -43,7 +43,7 @@ spec:
       schema:
         id: text.camel.apache.org
         type: string
-  flow:
+  template:
     from:
       uri: timer:tick
       parameters:
diff --git a/examples/kamelets/error-handler/error-handler.kamelet.yaml b/examples/kamelets/error-handler/error-handler.kamelet.yaml
index 04ce557..857a208 100644
--- a/examples/kamelets/error-handler/error-handler.kamelet.yaml
+++ b/examples/kamelets/error-handler/error-handler.kamelet.yaml
@@ -55,7 +55,7 @@ spec:
         description: A message warning to log
         type: string
         example: "error while checking the source"    
-  flow:
+  template:
     from:
       uri: kamelet:source
       steps:
diff --git a/examples/kamelets/error-handler/incremental-id-source.kamelet.yaml b/examples/kamelets/error-handler/incremental-id-source.kamelet.yaml
index ee475da..53c35f0 100644
--- a/examples/kamelets/error-handler/incremental-id-source.kamelet.yaml
+++ b/examples/kamelets/error-handler/incremental-id-source.kamelet.yaml
@@ -34,7 +34,7 @@ spec:
   types:
     out:
       mediaType: text/plain
-  flow:
+  template:
     from:
       uri: timer:tick
       parameters:
diff --git a/examples/kamelets/error-handler/log-sink.kamelet.yaml b/examples/kamelets/error-handler/log-sink.kamelet.yaml
index aa11481..6a0f815 100644
--- a/examples/kamelets/error-handler/log-sink.kamelet.yaml
+++ b/examples/kamelets/error-handler/log-sink.kamelet.yaml
@@ -25,7 +25,7 @@ spec:
   definition:
     title: "Regular Log Sink"
     description: "Consume events from a channel"  
-  flow:
+  template:
     from:
       uri: kamelet:source
       steps:
diff --git a/examples/kamelets/error-handler/readme.md b/examples/kamelets/error-handler/readme.md
index 27c17ef..609b896 100644
--- a/examples/kamelets/error-handler/readme.md
+++ b/examples/kamelets/error-handler/readme.md
@@ -48,7 +48,7 @@ spec:
         ...              
       log-message:
         ...    
-  flow:
+  template:
     from:
       uri: kamelet:source
       steps:
diff --git a/examples/kamelets/kameletbindings/env-var-writer.kamelet.yaml b/examples/kamelets/kameletbindings/env-var-writer.kamelet.yaml
index 840e9fe..65e3922 100644
--- a/examples/kamelets/kameletbindings/env-var-writer.kamelet.yaml
+++ b/examples/kamelets/kameletbindings/env-var-writer.kamelet.yaml
@@ -22,7 +22,7 @@ metadata:
 spec:
   definition:
     title: "Log some env vars"   
-  flow:
+  template:
     from:
       uri: kamelet:source
       steps:
diff --git a/examples/kamelets/timer-source-log-sink/log-sink.kamelet.yaml b/examples/kamelets/timer-source-log-sink/log-sink.kamelet.yaml
index 0d9ff42..399341e 100644
--- a/examples/kamelets/timer-source-log-sink/log-sink.kamelet.yaml
+++ b/examples/kamelets/timer-source-log-sink/log-sink.kamelet.yaml
@@ -27,7 +27,7 @@ spec:
   definition:
     title: "Log Sink"
     description: "Consume events from a channel"
-  flow:
+  template:
     from:
       uri: kamelet:source
       steps:
diff --git a/examples/kamelets/timer-source-log-sink/timer-source.kamelet.yaml b/examples/kamelets/timer-source-log-sink/timer-source.kamelet.yaml
index 20e1d66..0428c77 100644
--- a/examples/kamelets/timer-source-log-sink/timer-source.kamelet.yaml
+++ b/examples/kamelets/timer-source-log-sink/timer-source.kamelet.yaml
@@ -43,7 +43,7 @@ spec:
   types:
     out:
       mediaType: text/plain
-  flow:
+  template:
     from:
       uri: timer:tick
       parameters:
diff --git a/examples/kamelets/timer-source/timer-source.kamelet.yaml b/examples/kamelets/timer-source/timer-source.kamelet.yaml
index f837fb5..64759fa 100644
--- a/examples/kamelets/timer-source/timer-source.kamelet.yaml
+++ b/examples/kamelets/timer-source/timer-source.kamelet.yaml
@@ -43,7 +43,7 @@ spec:
   types:
     out:
       mediaType: text/plain
-  flow:
+  template:
     from:
       uri: timer:tick
       parameters:
diff --git a/pkg/resources/resources.go b/pkg/resources/resources.go
index f1d33bd..50673de 100644
--- a/pkg/resources/resources.go
+++ b/pkg/resources/resources.go
@@ -117,9 +117,9 @@ var assets = func() http.FileSystem {
 		"/crd/bases/camel.apache.org_builds.yaml": &vfsgen۰CompressedFileInfo{
 			name:             "camel.apache.org_builds.yaml",
 			modTime:          time.Time{},
-			uncompressedSize: 27442,
+			uncompressedSize: 27222,
 
-			compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\x3d\x5d\x73\xe3\x38\x72\xef\xfa\x15\x5d\xe3\x87\xd9\xa9\x32\xa9\xfd\xba\x64\xe3\x54\x2a\xa5\x93\x67\x2a\xca\xcc\xd8\x2e\xcb\xbb\x97\x7b\x3b\x88\x6c\x51\x38\x91\x00\x03\x80\x96\x75\xa9\xfc\xf7\x14\x3e\x48\x91\x16\x3f\x40\x59\xce\xce\xd5\x19\x2f\x33\x26\x81\x46\x7f\x77\xa3\x01\x42\x17\x10\x9c\xaf\x4d\x2e\xe0\x0b\x8d\x90\x49\x8c\x41\x71\x50\x1b\x84\x59\x4e\xa2\x0d\xc2\x92\xaf\xd5\x8e\x08\x84\x4f\xbc\x60\x31\x51\x94\x [...]
+			compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\x3d\x5b\x73\xdb\x3c\x76\xef\xfa\x15\x67\xe2\x87\x24\x33\x26\xf5\xdd\xb6\xfd\xea\x4e\xa7\xa3\x55\x92\xa9\x9a\xc4\xf6\x58\xfe\xbe\xed\xbe\x2d\x44\x1e\x51\x58\x91\x00\x0b\x80\x96\xb5\x9d\xfe\xf7\x0e\x2e\xa4\x48\x8b\x17\x50\x96\x9b\xec\xac\xf1\x92\x88\x04\x0e\xce\xfd\x1c\x1c\x80\xf0\x05\x04\xe7\x6b\x93\x0b\xf8\x42\x23\x64\x12\x63\x50\x1c\xd4\x06\x61\x96\x93\x68\x83\xb0\xe4\x6b\xb5\x23\x02\xe1\x13\x2f\x58\x4c\x14\xe5\x [...]
 		},
 		"/crd/bases/camel.apache.org_camelcatalogs.yaml": &vfsgen۰CompressedFileInfo{
 			name:             "camel.apache.org_camelcatalogs.yaml",
@@ -138,23 +138,23 @@ var assets = func() http.FileSystem {
 		"/crd/bases/camel.apache.org_integrationplatforms.yaml": &vfsgen۰CompressedFileInfo{
 			name:             "camel.apache.org_integrationplatforms.yaml",
 			modTime:          time.Time{},
-			uncompressedSize: 23568,
+			uncompressedSize: 23176,
 
-			compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\x1c\x5d\x8f\xe3\xb6\xf1\xdd\xbf\x62\x70\x7e\xb8\x04\xb0\xe4\xa4\x49\xd1\xd4\x45\x51\x6c\x7c\x77\xa8\x7b\x77\xbb\x8b\xb5\xef\xd2\xbc\x85\x96\xc6\x32\x63\x8a\x54\x49\x6a\x7d\x4e\xd1\xff\x5e\x0c\x29\xd9\xf2\x5a\x5f\xbb\x7b\x41\x9b\x40\x7c\xd9\xb5\x44\x0e\xe7\xfb\x83\x1c\x68\x0c\xc1\xe7\x1b\xa3\x31\xbc\xe3\x11\x4a\x83\x31\x58\x05\x76\x8b\x70\x95\xb1\x68\x8b\xb0\x54\x1b\xbb\x67\x1a\xe1\x8d\xca\x65\xcc\x2c\x57\x12\xbe\x [...]
+			compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\x3c\x5f\x8f\xe3\xb6\xf1\xef\xfe\x14\x83\xf3\xc3\x25\x80\x25\x27\xbf\xe4\x87\xa6\x2e\x8a\xc2\xf1\xdd\xa1\xee\xdd\xed\x2e\xd6\x7b\x97\xe6\x2d\xb4\x34\x96\x19\x53\xa4\x4a\x52\xeb\x73\x8a\x7e\xf7\x62\x48\xc9\x96\xd7\xfa\xb7\xbb\x17\xb4\x3d\x88\x2f\xbb\x96\x86\xc3\xf9\x3f\x43\x72\xa0\x31\x04\x9f\x6f\x8c\xc6\xf0\x8e\x47\x28\x0d\xc6\x60\x15\xd8\x2d\xc2\x3c\x63\xd1\x16\x61\xa5\x36\x76\xcf\x34\xc2\x1b\x95\xcb\x98\x59\xae\x [...]
 		},
 		"/crd/bases/camel.apache.org_integrations.yaml": &vfsgen۰CompressedFileInfo{
 			name:             "camel.apache.org_integrations.yaml",
 			modTime:          time.Time{},
-			uncompressedSize: 389770,
+			uncompressedSize: 389530,
 
-			compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\xbd\x6b\x73\x1b\x37\xb6\x28\xfa\x3d\xbf\x02\x25\xa7\x8e\xa4\x1d\x91\xb2\x93\xd9\x73\xf7\xf8\x4e\x9d\x94\x46\x92\x33\xba\xb1\x65\x95\xa5\x24\x27\xe5\x64\x67\xc0\x6e\x90\xc4\x51\x37\xd0\x03\xa0\x29\xf1\xdc\xdc\xff\x7e\x0b\x0b\x40\x3f\xf8\xea\x85\x96\xe8\x78\xa6\x1a\x53\x35\x31\x29\xf6\x6a\x3c\x16\xd6\xfb\xf1\x82\x8c\x9e\x6f\x7c\xf1\x82\xbc\xe5\x09\x13\x9a\xa5\xc4\x48\x62\xe6\x8c\x9c\x15\x34\x99\x33\x72\x2b\xa7\xe6\x [...]
+			compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\xbd\x6b\x73\x1b\x37\xb6\x28\xfa\x3d\xbf\x02\x25\xa7\x8e\xa4\x1d\x91\xb2\x93\xd9\x73\xf7\xf8\x4e\x9d\x94\x46\x92\x33\xba\xb1\x65\x95\xa5\x24\x27\xe5\x64\x67\xc0\x6e\x90\xc4\x51\x37\xd0\x03\xa0\x29\xf1\xdc\xdc\xff\x7e\x0b\x0b\x40\x3f\xf8\xea\x85\x96\xe8\x78\xa6\x1a\x53\x35\x31\x29\xf6\x6a\x3c\x16\xd6\xfb\xf1\x82\x8c\x9e\x6f\x7c\xf1\x82\xbc\xe5\x09\x13\x9a\xa5\xc4\x48\x62\xe6\x8c\x9c\x15\x34\x99\x33\x72\x2b\xa7\xe6\x [...]
 		},
 		"/crd/bases/camel.apache.org_kameletbindings.yaml": &vfsgen۰CompressedFileInfo{
 			name:             "camel.apache.org_kameletbindings.yaml",
 			modTime:          time.Time{},
-			uncompressedSize: 456702,
+			uncompressedSize: 456570,
 
-			compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\xbd\x7b\x73\x1c\x37\x96\x2f\xf8\xbf\x3e\x05\x82\x72\x5c\x92\xe3\xaa\xa2\x64\x77\xf7\x4e\x6b\x3b\xae\x83\x4d\x51\x36\xd7\x12\x55\x21\xd2\xf6\x75\xc8\x1e\x37\x2a\x13\x55\x85\x61\x26\x90\x03\x20\x8b\xac\x5e\xed\x77\xdf\xc0\x01\x90\x8f\x7a\x11\x27\x8b\xa4\xe5\xee\xc4\x44\x4c\x9b\x14\xf3\x24\x12\x8f\xf3\xfa\x9d\xc7\x73\x32\x7c\xb8\xf1\xec\x39\x79\xcb\x13\x26\x34\x4b\x89\x91\xc4\xcc\x19\x39\x2d\x68\x32\x67\xe4\x4a\x4e\x [...]
+			compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\xbd\x7b\x73\x1c\x37\x96\x2f\xf8\xbf\x3e\x05\x82\x72\x5c\x92\xe3\xaa\xa2\x64\x77\xf7\x4e\x6b\x3b\xae\x83\x4d\x51\x36\xd7\x12\x55\x21\xd2\xf6\x75\xc8\x1e\x37\x2a\x13\x55\x85\x61\x26\x90\x03\x20\x8b\xac\x5e\xed\x77\xdf\xc0\x01\x90\x8f\x7a\x11\x27\x8b\xa4\xe5\xee\xc4\x44\x4c\x9b\x14\xf3\x24\x12\x8f\xf3\xfa\x9d\xc7\x73\x32\x7c\xb8\xf1\xec\x39\x79\xcb\x13\x26\x34\x4b\x89\x91\xc4\xcc\x19\x39\x2d\x68\x32\x67\xe4\x4a\x4e\x [...]
 		},
 		"/crd/bases/camel.apache.org_kamelets.yaml": &vfsgen۰CompressedFileInfo{
 			name:             "camel.apache.org_kamelets.yaml",
@@ -470,9 +470,9 @@ var assets = func() http.FileSystem {
 		"/samples/bases/camel_v1_kamelet.yaml": &vfsgen۰CompressedFileInfo{
 			name:             "camel_v1_kamelet.yaml",
 			modTime:          time.Time{},
-			uncompressedSize: 1601,
+			uncompressedSize: 1605,
 
-			compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x54\xc1\x6e\xe3\x46\x0c\xbd\xeb\x2b\x1e\xac\xcb\x2e\x10\x3b\x49\x8f\xea\xc9\xcd\x3a\xa8\xb1\x5b\x7b\x11\x79\xbb\xd8\x23\x2d\x51\x32\x61\x69\x66\x3a\x43\x45\xf1\xdf\x17\x23\xc9\xb1\x93\xa2\xb7\xe8\x36\x1c\x0e\xf9\x1e\xdf\xa3\x52\xcc\x3f\xee\x4b\x52\x7c\x93\x82\x4d\xe0\x12\x6a\xa1\x07\xc6\xd2\x51\x71\x60\xe4\xb6\xd2\x9e\x3c\xe3\xd1\x76\xa6\x24\x15\x6b\xf0\x69\x99\x3f\x7e\x46\x67\x4a\xf6\xb0\x86\x61\x3d\x5a\xeb\x39\x [...]
+			compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x54\x4d\x6f\xe3\x46\x0c\xbd\xeb\x57\x3c\x58\x97\x5d\x20\x76\x92\x1e\xd5\x93\x9b\x75\x50\x63\xb7\xf6\x22\xf2\x76\xb1\x47\x5a\xa2\x65\xc2\xd2\xcc\x74\x86\x8a\xe2\x7f\x5f\x8c\x3e\x62\x27\x45\x6f\xd1\x6d\x38\x1c\xf2\x3d\xbe\x47\xa5\x98\x7f\xdc\x97\xa4\xf8\x26\x05\x9b\xc0\x25\xd4\x42\x8f\x8c\xa5\xa3\xe2\xc8\xc8\xed\x41\x3b\xf2\x8c\x47\xdb\x9a\x92\x54\xac\xc1\xa7\x65\xfe\xf8\x19\xad\x29\xd9\xc3\x1a\x86\xf5\x68\xac\xe7\x [...]
 		},
 		"/samples/bases/camel_v1_kameletbinding.yaml": &vfsgen۰CompressedFileInfo{
 			name:             "camel_v1_kameletbinding.yaml",
@@ -516,9 +516,9 @@ var assets = func() http.FileSystem {
 		"/templates/kamelet.tmpl": &vfsgen۰CompressedFileInfo{
 			name:             "kamelet.tmpl",
 			modTime:          time.Time{},
-			uncompressedSize: 870,
+			uncompressedSize: 874,
 
-			compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x74\x52\x3b\x8f\x1b\x3d\x0c\xec\xf7\x57\x10\xea\xed\xbb\x6b\xd5\x7e\xf8\xaa\x20\xc1\x15\x46\xea\xa3\x57\x63\x5b\xb0\x5e\xa1\xb8\xf6\x19\x0b\xff\xf7\x60\x5f\x7e\xe4\x12\x75\x22\x67\x86\x33\x04\xb9\xf8\x9f\x90\xea\x73\xb2\xd4\x72\x44\x58\x73\xe1\xf6\x80\x75\x96\xfd\xcb\xe9\x8d\x43\x39\xf0\x5b\x73\xf4\xc9\x59\xfa\x36\xf4\xa1\x4d\x84\xb2\x63\x65\xdb\x10\x25\x8e\xb0\xd4\xf7\xb4\xfe\xc1\x11\x74\xbd\x36\x44\x81\xb7\x08\x75\x [...]
+			compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x74\x52\x3b\x8f\x1b\x3d\x0c\xec\xf7\x57\x10\xea\xed\xbb\x6b\xd5\x7e\xf8\xaa\x20\xc1\x15\x46\xea\xa3\x57\x63\x5b\xb0\x5e\xa1\xb8\xf6\x19\x0b\xff\xf7\x60\x5f\x7e\xe4\x12\x75\x22\x67\x86\xc3\x01\xb9\xf8\x9f\x90\xea\x73\xb2\xd4\x72\x44\x58\x73\xe1\xf6\x80\x75\x96\xfd\xcb\xe9\x8d\x43\x39\xf0\x5b\x73\xf4\xc9\x59\xfa\x36\xf4\xa1\x4d\x84\xb2\x63\x65\xdb\x10\x25\x8e\xb0\xd4\xf7\xb4\xfe\xc1\x11\x74\xbd\x36\x44\x81\xb7\x08\x75\x [...]
 		},
 		"/templates/kts.tmpl": &vfsgen۰CompressedFileInfo{
 			name:             "kts.tmpl",
@@ -576,9 +576,9 @@ var assets = func() http.FileSystem {
 		"/traits.yaml": &vfsgen۰CompressedFileInfo{
 			name:             "traits.yaml",
 			modTime:          time.Time{},
-			uncompressedSize: 51291,
+			uncompressedSize: 51194,
 
-			compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\x7d\xfd\x73\x5b\xb9\x91\xe0\xef\xf3\x57\xa0\xb4\x57\x65\xc9\x45\x52\x9e\xc9\x26\x99\xd3\xdd\x6c\x4e\x63\x7b\x12\xcd\xf8\x43\x67\x6b\x26\x9b\xf2\xb9\x42\xf0\xbd\x26\x09\xeb\x11\x78\x01\xf0\x24\x33\x97\xfb\xdf\xaf\xd0\xdd\xf8\x78\x8f\xa4\x44\xd9\xd6\x6c\xb4\xb5\x9b\xaa\x1d\x4b\x7a\x00\x1a\x8d\x46\x7f\x77\xc3\x5b\xa9\xbc\x3b\xf9\x6a\x2c\xb4\x5c\xc1\x89\x90\xf3\xb9\xd2\xca\xaf\xbf\x12\xa2\x6d\xa4\x9f\x1b\xbb\x3a\x11\x [...]
+			compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\x7d\xfd\x73\x5b\xb9\x91\xe0\xef\xf3\x57\xa0\xb4\x57\x65\xc9\x45\x52\x9e\xc9\x26\x99\xd3\xdd\x6c\x4e\x63\x7b\x12\xcd\xf8\x43\x67\x6b\x26\x9b\xf2\xb9\x42\xf0\xbd\x26\x09\xf3\x11\x78\x01\xf0\x24\x33\x97\xfb\xdf\xaf\xd0\xdd\xf8\x78\x8f\x94\x44\xd9\xd6\x6c\xb4\xb5\x9b\xaa\x1d\x4b\x7a\x68\x34\x1a\x8d\x46\x7f\xc3\x5b\xa9\xbc\x3b\xf9\x6a\x2c\xb4\x5c\xc3\x89\x90\xf3\xb9\xd2\xca\x6f\xbe\x12\xa2\x6d\xa4\x9f\x1b\xbb\x3e\x11\x [...]
 		},
 	}
 	fs["/"].(*vfsgen۰DirInfo).entries = []os.FileInfo{
diff --git a/resources/templates/kamelet.tmpl b/resources/templates/kamelet.tmpl
index fa98b05..57e03d4 100644
--- a/resources/templates/kamelet.tmpl
+++ b/resources/templates/kamelet.tmpl
@@ -23,7 +23,7 @@ spec:
   types:
     out:
       mediaType: text/plain
-  flow:
+  template:
     from:
       uri: timer:tick
       parameters:

[camel-k] 18/18: fix(e2e): use 8080 port

Posted by pc...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 67194844bd3fa75962607134473c3c89f026eabd
Author: Pasquale Congiusti <pa...@gmail.com>
AuthorDate: Mon Feb 28 16:59:59 2022 +0100

    fix(e2e): use 8080 port
---
 .../common/kamelet-binding-autoload/kamelet-autoload-specific.feature   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/e2e/yaks/common/kamelet-binding-autoload/kamelet-autoload-specific.feature b/e2e/yaks/common/kamelet-binding-autoload/kamelet-autoload-specific.feature
index b3fe929..635bbee 100644
--- a/e2e/yaks/common/kamelet-binding-autoload/kamelet-autoload-specific.feature
+++ b/e2e/yaks/common/kamelet-binding-autoload/kamelet-autoload-specific.feature
@@ -8,7 +8,7 @@ Feature: Camel K can load specific secrets for Kamelets
       | delayBetweenAttempts | 3000 |
 
   Scenario: KameletBinding can load specific settings for Kamelet
-    Given create Kubernetes service stub-service-2 with target port 8081
+    Given create Kubernetes service stub-service-2 with target port 8080
     And bind Kamelet timer-source to uri http://stub-service-2.${YAKS_NAMESPACE}.svc.cluster.local/specific
     And KameletBinding source properties
       | id  | specific |

[camel-k] 07/18: chore: remove deprecated code

Posted by pc...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 02be54b94e7b8d99f9161617c1890a9addd47a7f
Author: Pasquale Congiusti <pa...@gmail.com>
AuthorDate: Mon Jan 24 15:03:53 2022 +0100

    chore: remove deprecated code
    
    Closes #2751
---
 config/crd/bases/camel.apache.org_integrations.yaml |  3 ---
 docs/modules/ROOT/partials/apis/crds-html.adoc      | 11 -----------
 helm/camel-k/crds/crd-integration.yaml              |  3 ---
 pkg/apis/camel/v1/integration_types.go              | 12 +++++-------
 pkg/util/resource/config.go                         | 13 +------------
 5 files changed, 6 insertions(+), 36 deletions(-)

diff --git a/config/crd/bases/camel.apache.org_integrations.yaml b/config/crd/bases/camel.apache.org_integrations.yaml
index 0fb5b30..81b604f 100644
--- a/config/crd/bases/camel.apache.org_integrations.yaml
+++ b/config/crd/bases/camel.apache.org_integrations.yaml
@@ -5871,9 +5871,6 @@ spec:
                     description: 'UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids'
                     type: string
                 type: object
-              kit:
-                description: 'Deprecated: use the IntegrationKit field'
-                type: string
               lastInitTimestamp:
                 description: The timestamp representing the last time when this integration
                   was initialized.
diff --git a/docs/modules/ROOT/partials/apis/crds-html.adoc b/docs/modules/ROOT/partials/apis/crds-html.adoc
index 3fe1de5..8c91fbb 100644
--- a/docs/modules/ROOT/partials/apis/crds-html.adoc
+++ b/docs/modules/ROOT/partials/apis/crds-html.adoc
@@ -3315,17 +3315,6 @@ TraitProfile
 </tr>
 <tr>
 <td>
-<code>kit</code><br/>
-<em>
-string
-</em>
-</td>
-<td>
-<p>Deprecated: use the IntegrationKit field</p>
-</td>
-</tr>
-<tr>
-<td>
 <code>integrationKit</code><br/>
 <em>
 <a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#objectreference-v1-core">
diff --git a/helm/camel-k/crds/crd-integration.yaml b/helm/camel-k/crds/crd-integration.yaml
index 0fb5b30..81b604f 100644
--- a/helm/camel-k/crds/crd-integration.yaml
+++ b/helm/camel-k/crds/crd-integration.yaml
@@ -5871,9 +5871,6 @@ spec:
                     description: 'UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids'
                     type: string
                 type: object
-              kit:
-                description: 'Deprecated: use the IntegrationKit field'
-                type: string
               lastInitTimestamp:
                 description: The timestamp representing the last time when this integration
                   was initialized.
diff --git a/pkg/apis/camel/v1/integration_types.go b/pkg/apis/camel/v1/integration_types.go
index 3b26183..1ad721d 100644
--- a/pkg/apis/camel/v1/integration_types.go
+++ b/pkg/apis/camel/v1/integration_types.go
@@ -51,13 +51,11 @@ type IntegrationSpec struct {
 
 // IntegrationStatus defines the observed state of Integration
 type IntegrationStatus struct {
-	Phase        IntegrationPhase `json:"phase,omitempty"`
-	Digest       string           `json:"digest,omitempty"`
-	Image        string           `json:"image,omitempty"`
-	Dependencies []string         `json:"dependencies,omitempty"`
-	Profile      TraitProfile     `json:"profile,omitempty"`
-	// Deprecated: use the IntegrationKit field
-	Kit                string                  `json:"kit,omitempty"`
+	Phase              IntegrationPhase        `json:"phase,omitempty"`
+	Digest             string                  `json:"digest,omitempty"`
+	Image              string                  `json:"image,omitempty"`
+	Dependencies       []string                `json:"dependencies,omitempty"`
+	Profile            TraitProfile            `json:"profile,omitempty"`
 	IntegrationKit     *corev1.ObjectReference `json:"integrationKit,omitempty"`
 	Platform           string                  `json:"platform,omitempty"`
 	GeneratedSources   []SourceSpec            `json:"generatedSources,omitempty"`
diff --git a/pkg/util/resource/config.go b/pkg/util/resource/config.go
index b358347..83d2b14 100644
--- a/pkg/util/resource/config.go
+++ b/pkg/util/resource/config.go
@@ -152,18 +152,7 @@ func parseCMOrSecretValue(value string) (resource string, maybeKey string, maybe
 
 // ParseResource will parse a resource and return a Config.
 func ParseResource(item string) (*Config, error) {
-	// Deprecated: ensure backward compatibility with `--resource filename` format until version 1.5.x
-	// then replace with parse() func directly
-	resource, err := parse(item, ContentTypeData)
-	if err != nil {
-		if strings.HasPrefix(err.Error(), "could not match config, secret or file configuration") {
-			fmt.Printf("Warn: --resource %s has been deprecated. You should use --resource file:%s instead.\n", item, item)
-			return parse("file:"+item, ContentTypeData)
-		}
-		return nil, err
-	}
-
-	return resource, nil
+	return parse(item, ContentTypeData)
 }
 
 // ParseVolume will parse a volume and return a Config.

[camel-k] 04/18: chore(api): Remove Kit from IntegrationSpec

Posted by pc...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 55d6f671abc46e5b2fcb696c304b62919c0bada6
Author: Pasquale Congiusti <pa...@gmail.com>
AuthorDate: Mon Jan 24 11:54:33 2022 +0100

    chore(api): Remove Kit from IntegrationSpec
    
    Ref #2751
---
 .../crd/bases/camel.apache.org_integrations.yaml   |    3 -
 .../bases/camel.apache.org_kameletbindings.yaml    |    3 -
 docs/modules/ROOT/partials/apis/crds-html.adoc     | 6711 ++++++++++++++++++++
 helm/camel-k/crds/crd-integration.yaml             |    3 -
 helm/camel-k/crds/crd-kamelet-binding.yaml         |    3 -
 pkg/apis/camel/v1/integration_types.go             |    4 +-
 pkg/controller/integration/initialize.go           |    9 -
 pkg/trait/container.go                             |    6 -
 pkg/trait/container_test.go                        |   51 -
 9 files changed, 6712 insertions(+), 81 deletions(-)

diff --git a/config/crd/bases/camel.apache.org_integrations.yaml b/config/crd/bases/camel.apache.org_integrations.yaml
index e9f141b..0fb5b30 100644
--- a/config/crd/bases/camel.apache.org_integrations.yaml
+++ b/config/crd/bases/camel.apache.org_integrations.yaml
@@ -164,9 +164,6 @@ spec:
                     description: 'UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids'
                     type: string
                 type: object
-              kit:
-                description: 'Deprecated: use the IntegrationKit field'
-                type: string
               profile:
                 description: TraitProfile represents lists of traits that are enabled
                   for the specific installation/integration
diff --git a/config/crd/bases/camel.apache.org_kameletbindings.yaml b/config/crd/bases/camel.apache.org_kameletbindings.yaml
index cb61dec..944a254 100644
--- a/config/crd/bases/camel.apache.org_kameletbindings.yaml
+++ b/config/crd/bases/camel.apache.org_kameletbindings.yaml
@@ -170,9 +170,6 @@ spec:
                         description: 'UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids'
                         type: string
                     type: object
-                  kit:
-                    description: 'Deprecated: use the IntegrationKit field'
-                    type: string
                   profile:
                     description: TraitProfile represents lists of traits that are
                       enabled for the specific installation/integration
diff --git a/docs/modules/ROOT/partials/apis/crds-html.adoc b/docs/modules/ROOT/partials/apis/crds-html.adoc
new file mode 100644
index 0000000..c86feb7
--- /dev/null
+++ b/docs/modules/ROOT/partials/apis/crds-html.adoc
@@ -0,0 +1,6711 @@
+<p>Packages:</p>
+<ul>
+<li>
+<a href="#camel.apache.org/v1">camel.apache.org/v1</a>
+</li>
+<li>
+<a href="#camel.apache.org/v1alpha1">camel.apache.org/v1alpha1</a>
+</li>
+</ul>
+<h2 id="camel.apache.org/v1">camel.apache.org/v1</h2>
+<div>
+<p>Package v1 contains API Schema definitions for the camel v1 API group</p>
+</div>
+Resource Types:
+<ul><li>
+<a href="#camel.apache.org/v1.Build">Build</a>
+</li><li>
+<a href="#camel.apache.org/v1.CamelCatalog">CamelCatalog</a>
+</li><li>
+<a href="#camel.apache.org/v1.Integration">Integration</a>
+</li><li>
+<a href="#camel.apache.org/v1.IntegrationKit">IntegrationKit</a>
+</li><li>
+<a href="#camel.apache.org/v1.IntegrationPlatform">IntegrationPlatform</a>
+</li></ul>
+<h3 id="camel.apache.org/v1.Build">Build
+</h3>
+<div>
+<p>Build is the Schema for the builds API</p>
+</div>
+<table>
+<thead>
+<tr>
+<th>Field</th>
+<th>Description</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>
+<code>apiVersion</code></br>
+string</td>
+<td>
+<code>
+camel.apache.org/v1
+</code>
+</td>
+</tr>
+<tr>
+<td>
+<code>kind</code></br>
+string
+</td>
+<td><code>Build</code></td>
+</tr>
+<tr>
+<td>
+<code>metadata</code><br/>
+<em>
+<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#objectmeta-v1-meta">
+Kubernetes meta/v1.ObjectMeta
+</a>
+</em>
+</td>
+<td>
+Refer to the Kubernetes API documentation for the fields of the
+<code>metadata</code> field.
+</td>
+</tr>
+<tr>
+<td>
+<code>spec</code><br/>
+<em>
+<a href="#camel.apache.org/v1.BuildSpec">
+BuildSpec
+</a>
+</em>
+</td>
+<td>
+<br/>
+<br/>
+<table>
+<tr>
+<td>
+<code>tasks</code><br/>
+<em>
+<a href="#camel.apache.org/v1.Task">
+[]Task
+</a>
+</em>
+</td>
+<td>
+<p>The sequence of Build tasks to be performed as part of the Build execution.</p>
+</td>
+</tr>
+<tr>
+<td>
+<code>strategy</code><br/>
+<em>
+<a href="#camel.apache.org/v1.BuildStrategy">
+BuildStrategy
+</a>
+</em>
+</td>
+<td>
+<p>The strategy that should be used to perform the Build.</p>
+</td>
+</tr>
+<tr>
+<td>
+<code>timeout</code><br/>
+<em>
+<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#duration-v1-meta">
+Kubernetes meta/v1.Duration
+</a>
+</em>
+</td>
+<td>
+<p>Timeout defines the Build maximum execution duration.
+The Build deadline is set to the Build start time plus the Timeout duration.
+If the Build deadline is exceeded, the Build context is canceled,
+and its phase set to BuildPhaseFailed.</p>
+</td>
+</tr>
+</table>
+</td>
+</tr>
+<tr>
+<td>
+<code>status</code><br/>
+<em>
+<a href="#camel.apache.org/v1.BuildStatus">
+BuildStatus
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+</tbody>
+</table>
+<h3 id="camel.apache.org/v1.CamelCatalog">CamelCatalog
+</h3>
+<div>
+<p>CamelCatalog is the Schema for the camelcatalogs API</p>
+</div>
+<table>
+<thead>
+<tr>
+<th>Field</th>
+<th>Description</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>
+<code>apiVersion</code></br>
+string</td>
+<td>
+<code>
+camel.apache.org/v1
+</code>
+</td>
+</tr>
+<tr>
+<td>
+<code>kind</code></br>
+string
+</td>
+<td><code>CamelCatalog</code></td>
+</tr>
+<tr>
+<td>
+<code>metadata</code><br/>
+<em>
+<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#objectmeta-v1-meta">
+Kubernetes meta/v1.ObjectMeta
+</a>
+</em>
+</td>
+<td>
+Refer to the Kubernetes API documentation for the fields of the
+<code>metadata</code> field.
+</td>
+</tr>
+<tr>
+<td>
+<code>status</code><br/>
+<em>
+<a href="#camel.apache.org/v1.CamelCatalogStatus">
+CamelCatalogStatus
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>spec</code><br/>
+<em>
+<a href="#camel.apache.org/v1.CamelCatalogSpec">
+CamelCatalogSpec
+</a>
+</em>
+</td>
+<td>
+<br/>
+<br/>
+<table>
+<tr>
+<td>
+<code>runtime</code><br/>
+<em>
+<a href="#camel.apache.org/v1.RuntimeSpec">
+RuntimeSpec
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>artifacts</code><br/>
+<em>
+<a href="#camel.apache.org/v1.CamelArtifact">
+map[string]github.com/apache/camel-k/pkg/apis/camel/v1.CamelArtifact
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>loaders</code><br/>
+<em>
+<a href="#camel.apache.org/v1.CamelLoader">
+map[string]github.com/apache/camel-k/pkg/apis/camel/v1.CamelLoader
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+</table>
+</td>
+</tr>
+</tbody>
+</table>
+<h3 id="camel.apache.org/v1.Integration">Integration
+</h3>
+<div>
+<p>Integration is the Schema for the integrations API</p>
+</div>
+<table>
+<thead>
+<tr>
+<th>Field</th>
+<th>Description</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>
+<code>apiVersion</code></br>
+string</td>
+<td>
+<code>
+camel.apache.org/v1
+</code>
+</td>
+</tr>
+<tr>
+<td>
+<code>kind</code></br>
+string
+</td>
+<td><code>Integration</code></td>
+</tr>
+<tr>
+<td>
+<code>metadata</code><br/>
+<em>
+<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#objectmeta-v1-meta">
+Kubernetes meta/v1.ObjectMeta
+</a>
+</em>
+</td>
+<td>
+Refer to the Kubernetes API documentation for the fields of the
+<code>metadata</code> field.
+</td>
+</tr>
+<tr>
+<td>
+<code>spec</code><br/>
+<em>
+<a href="#camel.apache.org/v1.IntegrationSpec">
+IntegrationSpec
+</a>
+</em>
+</td>
+<td>
+<br/>
+<br/>
+<table>
+<tr>
+<td>
+<code>replicas</code><br/>
+<em>
+int32
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>sources</code><br/>
+<em>
+<a href="#camel.apache.org/v1.SourceSpec">
+[]SourceSpec
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>flows</code><br/>
+<em>
+<a href="#camel.apache.org/v1.Flow">
+[]Flow
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>resources</code><br/>
+<em>
+<a href="#camel.apache.org/v1.ResourceSpec">
+[]ResourceSpec
+</a>
+</em>
+</td>
+<td>
+<p>Deprecated:
+Use container trait (container.resources) to manage resources
+Use openapi trait (openapi.configmaps) to manage OpenAPIs specifications</p>
+</td>
+</tr>
+<tr>
+<td>
+<code>integrationKit</code><br/>
+<em>
+<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#objectreference-v1-core">
+Kubernetes core/v1.ObjectReference
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>dependencies</code><br/>
+<em>
+[]string
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>profile</code><br/>
+<em>
+<a href="#camel.apache.org/v1.TraitProfile">
+TraitProfile
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>traits</code><br/>
+<em>
+<a href="#camel.apache.org/v1.TraitSpec">
+map[string]github.com/apache/camel-k/pkg/apis/camel/v1.TraitSpec
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>template</code><br/>
+<em>
+<a href="#camel.apache.org/v1.PodSpecTemplate">
+PodSpecTemplate
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>configuration</code><br/>
+<em>
+<a href="#camel.apache.org/v1.ConfigurationSpec">
+[]ConfigurationSpec
+</a>
+</em>
+</td>
+<td>
+<p>Deprecated:
+Use camel trait (camel.properties) to manage properties
+Use container trait (container.configs) to manage configs
+Use container trait (container.resources) to manage resources
+Use container trait (container.volumes) to manage volumes</p>
+</td>
+</tr>
+<tr>
+<td>
+<code>repositories</code><br/>
+<em>
+[]string
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>serviceAccountName</code><br/>
+<em>
+string
+</em>
+</td>
+<td>
+</td>
+</tr>
+</table>
+</td>
+</tr>
+<tr>
+<td>
+<code>status</code><br/>
+<em>
+<a href="#camel.apache.org/v1.IntegrationStatus">
+IntegrationStatus
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+</tbody>
+</table>
+<h3 id="camel.apache.org/v1.IntegrationKit">IntegrationKit
+</h3>
+<div>
+<p>IntegrationKit is the Schema for the integrationkits API</p>
+</div>
+<table>
+<thead>
+<tr>
+<th>Field</th>
+<th>Description</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>
+<code>apiVersion</code></br>
+string</td>
+<td>
+<code>
+camel.apache.org/v1
+</code>
+</td>
+</tr>
+<tr>
+<td>
+<code>kind</code></br>
+string
+</td>
+<td><code>IntegrationKit</code></td>
+</tr>
+<tr>
+<td>
+<code>metadata</code><br/>
+<em>
+<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#objectmeta-v1-meta">
+Kubernetes meta/v1.ObjectMeta
+</a>
+</em>
+</td>
+<td>
+Refer to the Kubernetes API documentation for the fields of the
+<code>metadata</code> field.
+</td>
+</tr>
+<tr>
+<td>
+<code>spec</code><br/>
+<em>
+<a href="#camel.apache.org/v1.IntegrationKitSpec">
+IntegrationKitSpec
+</a>
+</em>
+</td>
+<td>
+<br/>
+<br/>
+<table>
+<tr>
+<td>
+<code>image</code><br/>
+<em>
+string
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>dependencies</code><br/>
+<em>
+[]string
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>profile</code><br/>
+<em>
+<a href="#camel.apache.org/v1.TraitProfile">
+TraitProfile
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>traits</code><br/>
+<em>
+<a href="#camel.apache.org/v1.TraitSpec">
+map[string]github.com/apache/camel-k/pkg/apis/camel/v1.TraitSpec
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>configuration</code><br/>
+<em>
+<a href="#camel.apache.org/v1.ConfigurationSpec">
+[]ConfigurationSpec
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>repositories</code><br/>
+<em>
+[]string
+</em>
+</td>
+<td>
+</td>
+</tr>
+</table>
+</td>
+</tr>
+<tr>
+<td>
+<code>status</code><br/>
+<em>
+<a href="#camel.apache.org/v1.IntegrationKitStatus">
+IntegrationKitStatus
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+</tbody>
+</table>
+<h3 id="camel.apache.org/v1.IntegrationPlatform">IntegrationPlatform
+</h3>
+<div>
+<p>IntegrationPlatform is the Schema for the integrationplatforms API</p>
+</div>
+<table>
+<thead>
+<tr>
+<th>Field</th>
+<th>Description</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>
+<code>apiVersion</code></br>
+string</td>
+<td>
+<code>
+camel.apache.org/v1
+</code>
+</td>
+</tr>
+<tr>
+<td>
+<code>kind</code></br>
+string
+</td>
+<td><code>IntegrationPlatform</code></td>
+</tr>
+<tr>
+<td>
+<code>metadata</code><br/>
+<em>
+<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#objectmeta-v1-meta">
+Kubernetes meta/v1.ObjectMeta
+</a>
+</em>
+</td>
+<td>
+Refer to the Kubernetes API documentation for the fields of the
+<code>metadata</code> field.
+</td>
+</tr>
+<tr>
+<td>
+<code>spec</code><br/>
+<em>
+<a href="#camel.apache.org/v1.IntegrationPlatformSpec">
+IntegrationPlatformSpec
+</a>
+</em>
+</td>
+<td>
+<br/>
+<br/>
+<table>
+<tr>
+<td>
+<code>cluster</code><br/>
+<em>
+<a href="#camel.apache.org/v1.IntegrationPlatformCluster">
+IntegrationPlatformCluster
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>profile</code><br/>
+<em>
+<a href="#camel.apache.org/v1.TraitProfile">
+TraitProfile
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>build</code><br/>
+<em>
+<a href="#camel.apache.org/v1.IntegrationPlatformBuildSpec">
+IntegrationPlatformBuildSpec
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>resources</code><br/>
+<em>
+<a href="#camel.apache.org/v1.IntegrationPlatformResourcesSpec">
+IntegrationPlatformResourcesSpec
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>traits</code><br/>
+<em>
+<a href="#camel.apache.org/v1.TraitSpec">
+map[string]github.com/apache/camel-k/pkg/apis/camel/v1.TraitSpec
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>configuration</code><br/>
+<em>
+<a href="#camel.apache.org/v1.ConfigurationSpec">
+[]ConfigurationSpec
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>kamelet</code><br/>
+<em>
+<a href="#camel.apache.org/v1.IntegrationPlatformKameletSpec">
+IntegrationPlatformKameletSpec
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+</table>
+</td>
+</tr>
+<tr>
+<td>
+<code>status</code><br/>
+<em>
+<a href="#camel.apache.org/v1.IntegrationPlatformStatus">
+IntegrationPlatformStatus
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+</tbody>
+</table>
+<h3 id="camel.apache.org/v1.Artifact">Artifact
+</h3>
+<p>
+(<em>Appears on:</em>
+<a href="#camel.apache.org/v1.BuildStatus">BuildStatus</a>, 
+<a href="#camel.apache.org/v1.IntegrationKitStatus">IntegrationKitStatus</a>)
+</p>
+<div>
+<p>Artifact &ndash;</p>
+</div>
+<table>
+<thead>
+<tr>
+<th>Field</th>
+<th>Description</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>
+<code>id</code><br/>
+<em>
+string
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>location</code><br/>
+<em>
+string
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>target</code><br/>
+<em>
+string
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>checksum</code><br/>
+<em>
+string
+</em>
+</td>
+<td>
+</td>
+</tr>
+</tbody>
+</table>
+<h3 id="camel.apache.org/v1.BaseTask">BaseTask
+</h3>
+<p>
+(<em>Appears on:</em>
+<a href="#camel.apache.org/v1.BuildahTask">BuildahTask</a>, 
+<a href="#camel.apache.org/v1.BuilderTask">BuilderTask</a>, 
+<a href="#camel.apache.org/v1.KanikoTask">KanikoTask</a>, 
+<a href="#camel.apache.org/v1.S2iTask">S2iTask</a>, 
+<a href="#camel.apache.org/v1.SpectrumTask">SpectrumTask</a>)
+</p>
+<div>
+<p>BaseTask &ndash;</p>
+</div>
+<table>
+<thead>
+<tr>
+<th>Field</th>
+<th>Description</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>
+<code>name</code><br/>
+<em>
+string
+</em>
+</td>
+<td>
+</td>
+</tr>
+</tbody>
+</table>
+<h3 id="camel.apache.org/v1.BuildCondition">BuildCondition
+</h3>
+<p>
+(<em>Appears on:</em>
+<a href="#camel.apache.org/v1.BuildStatus">BuildStatus</a>)
+</p>
+<div>
+<p>BuildCondition describes the state of a resource at a certain point.</p>
+</div>
+<table>
+<thead>
+<tr>
+<th>Field</th>
+<th>Description</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>
+<code>type</code><br/>
+<em>
+<a href="#camel.apache.org/v1.BuildConditionType">
+BuildConditionType
+</a>
+</em>
+</td>
+<td>
+<p>Type of integration condition.</p>
+</td>
+</tr>
+<tr>
+<td>
+<code>status</code><br/>
+<em>
+<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#conditionstatus-v1-core">
+Kubernetes core/v1.ConditionStatus
+</a>
+</em>
+</td>
+<td>
+<p>Status of the condition, one of True, False, Unknown.</p>
+</td>
+</tr>
+<tr>
+<td>
+<code>lastUpdateTime</code><br/>
+<em>
+<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#time-v1-meta">
+Kubernetes meta/v1.Time
+</a>
+</em>
+</td>
+<td>
+<p>The last time this condition was updated.</p>
+</td>
+</tr>
+<tr>
+<td>
+<code>lastTransitionTime</code><br/>
+<em>
+<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#time-v1-meta">
+Kubernetes meta/v1.Time
+</a>
+</em>
+</td>
+<td>
+<p>Last time the condition transitioned from one status to another.</p>
+</td>
+</tr>
+<tr>
+<td>
+<code>reason</code><br/>
+<em>
+string
+</em>
+</td>
+<td>
+<p>The reason for the condition&rsquo;s last transition.</p>
+</td>
+</tr>
+<tr>
+<td>
+<code>message</code><br/>
+<em>
+string
+</em>
+</td>
+<td>
+<p>A human-readable message indicating details about the transition.</p>
+</td>
+</tr>
+</tbody>
+</table>
+<h3 id="camel.apache.org/v1.BuildConditionType">BuildConditionType
+(<code>string</code> alias)</h3>
+<p>
+(<em>Appears on:</em>
+<a href="#camel.apache.org/v1.BuildCondition">BuildCondition</a>)
+</p>
+<div>
+<p>BuildConditionType &ndash;</p>
+</div>
+<h3 id="camel.apache.org/v1.BuildPhase">BuildPhase
+(<code>string</code> alias)</h3>
+<p>
+(<em>Appears on:</em>
+<a href="#camel.apache.org/v1.BuildStatus">BuildStatus</a>)
+</p>
+<div>
+<p>BuildPhase &ndash;</p>
+</div>
+<h3 id="camel.apache.org/v1.BuildSpec">BuildSpec
+</h3>
+<p>
+(<em>Appears on:</em>
+<a href="#camel.apache.org/v1.Build">Build</a>)
+</p>
+<div>
+<p>BuildSpec defines the Build to be executed</p>
+</div>
+<table>
+<thead>
+<tr>
+<th>Field</th>
+<th>Description</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>
+<code>tasks</code><br/>
+<em>
+<a href="#camel.apache.org/v1.Task">
+[]Task
+</a>
+</em>
+</td>
+<td>
+<p>The sequence of Build tasks to be performed as part of the Build execution.</p>
+</td>
+</tr>
+<tr>
+<td>
+<code>strategy</code><br/>
+<em>
+<a href="#camel.apache.org/v1.BuildStrategy">
+BuildStrategy
+</a>
+</em>
+</td>
+<td>
+<p>The strategy that should be used to perform the Build.</p>
+</td>
+</tr>
+<tr>
+<td>
+<code>timeout</code><br/>
+<em>
+<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#duration-v1-meta">
+Kubernetes meta/v1.Duration
+</a>
+</em>
+</td>
+<td>
+<p>Timeout defines the Build maximum execution duration.
+The Build deadline is set to the Build start time plus the Timeout duration.
+If the Build deadline is exceeded, the Build context is canceled,
+and its phase set to BuildPhaseFailed.</p>
+</td>
+</tr>
+</tbody>
+</table>
+<h3 id="camel.apache.org/v1.BuildStatus">BuildStatus
+</h3>
+<p>
+(<em>Appears on:</em>
+<a href="#camel.apache.org/v1.Build">Build</a>)
+</p>
+<div>
+<p>BuildStatus defines the observed state of Build</p>
+</div>
+<table>
+<thead>
+<tr>
+<th>Field</th>
+<th>Description</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>
+<code>phase</code><br/>
+<em>
+<a href="#camel.apache.org/v1.BuildPhase">
+BuildPhase
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>image</code><br/>
+<em>
+string
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>digest</code><br/>
+<em>
+string
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>baseImage</code><br/>
+<em>
+string
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>artifacts</code><br/>
+<em>
+<a href="#camel.apache.org/v1.Artifact">
+[]Artifact
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>error</code><br/>
+<em>
+string
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>failure</code><br/>
+<em>
+<a href="#camel.apache.org/v1.Failure">
+Failure
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>startedAt</code><br/>
+<em>
+<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#time-v1-meta">
+Kubernetes meta/v1.Time
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>conditions</code><br/>
+<em>
+<a href="#camel.apache.org/v1.BuildCondition">
+[]BuildCondition
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>duration</code><br/>
+<em>
+string
+</em>
+</td>
+<td>
+<p>Change to Duration / ISO 8601 when CRD uses OpenAPI spec v3
+<a href="https://github.com/OAI/OpenAPI-Specification/issues/845">https://github.com/OAI/OpenAPI-Specification/issues/845</a></p>
+</td>
+</tr>
+</tbody>
+</table>
+<h3 id="camel.apache.org/v1.BuildStrategy">BuildStrategy
+(<code>string</code> alias)</h3>
+<p>
+(<em>Appears on:</em>
+<a href="#camel.apache.org/v1.BuildSpec">BuildSpec</a>, 
+<a href="#camel.apache.org/v1.IntegrationPlatformBuildSpec">IntegrationPlatformBuildSpec</a>)
+</p>
+<div>
+<p>BuildStrategy specifies how the Build should be executed</p>
+</div>
+<h3 id="camel.apache.org/v1.BuildahTask">BuildahTask
+</h3>
+<p>
+(<em>Appears on:</em>
+<a href="#camel.apache.org/v1.Task">Task</a>)
+</p>
+<div>
+<p>BuildahTask &ndash;</p>
+</div>
+<table>
+<thead>
+<tr>
+<th>Field</th>
+<th>Description</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>
+<code>BaseTask</code><br/>
+<em>
+<a href="#camel.apache.org/v1.BaseTask">
+BaseTask
+</a>
+</em>
+</td>
+<td>
+<p>
+(Members of <code>BaseTask</code> are embedded into this type.)
+</p>
+</td>
+</tr>
+<tr>
+<td>
+<code>PublishTask</code><br/>
+<em>
+<a href="#camel.apache.org/v1.PublishTask">
+PublishTask
+</a>
+</em>
+</td>
+<td>
+<p>
+(Members of <code>PublishTask</code> are embedded into this type.)
+</p>
+</td>
+</tr>
+<tr>
+<td>
+<code>verbose</code><br/>
+<em>
+bool
+</em>
+</td>
+<td>
+</td>
+</tr>
+</tbody>
+</table>
+<h3 id="camel.apache.org/v1.BuilderTask">BuilderTask
+</h3>
+<p>
+(<em>Appears on:</em>
+<a href="#camel.apache.org/v1.Task">Task</a>)
+</p>
+<div>
+<p>BuilderTask &ndash;</p>
+</div>
+<table>
+<thead>
+<tr>
+<th>Field</th>
+<th>Description</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>
+<code>BaseTask</code><br/>
+<em>
+<a href="#camel.apache.org/v1.BaseTask">
+BaseTask
+</a>
+</em>
+</td>
+<td>
+<p>
+(Members of <code>BaseTask</code> are embedded into this type.)
+</p>
+</td>
+</tr>
+<tr>
+<td>
+<code>baseImage</code><br/>
+<em>
+string
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>runtime</code><br/>
+<em>
+<a href="#camel.apache.org/v1.RuntimeSpec">
+RuntimeSpec
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>sources</code><br/>
+<em>
+<a href="#camel.apache.org/v1.SourceSpec">
+[]SourceSpec
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>resources</code><br/>
+<em>
+<a href="#camel.apache.org/v1.ResourceSpec">
+[]ResourceSpec
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>dependencies</code><br/>
+<em>
+[]string
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>steps</code><br/>
+<em>
+[]string
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>maven</code><br/>
+<em>
+<a href="#camel.apache.org/v1.MavenBuildSpec">
+MavenBuildSpec
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>buildDir</code><br/>
+<em>
+string
+</em>
+</td>
+<td>
+</td>
+</tr>
+</tbody>
+</table>
+<h3 id="camel.apache.org/v1.CamelArtifact">CamelArtifact
+</h3>
+<p>
+(<em>Appears on:</em>
+<a href="#camel.apache.org/v1.CamelCatalogSpec">CamelCatalogSpec</a>)
+</p>
+<div>
+<p>CamelArtifact &ndash;</p>
+</div>
+<table>
+<thead>
+<tr>
+<th>Field</th>
+<th>Description</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>
+<code>CamelArtifactDependency</code><br/>
+<em>
+<a href="#camel.apache.org/v1.CamelArtifactDependency">
+CamelArtifactDependency
+</a>
+</em>
+</td>
+<td>
+<p>
+(Members of <code>CamelArtifactDependency</code> are embedded into this type.)
+</p>
+</td>
+</tr>
+<tr>
+<td>
+<code>schemes</code><br/>
+<em>
+<a href="#camel.apache.org/v1.CamelScheme">
+[]CamelScheme
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>languages</code><br/>
+<em>
+[]string
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>dataformats</code><br/>
+<em>
+[]string
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>dependencies</code><br/>
+<em>
+<a href="#camel.apache.org/v1.CamelArtifactDependency">
+[]CamelArtifactDependency
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>javaTypes</code><br/>
+<em>
+[]string
+</em>
+</td>
+<td>
+</td>
+</tr>
+</tbody>
+</table>
+<h3 id="camel.apache.org/v1.CamelArtifactDependency">CamelArtifactDependency
+</h3>
+<p>
+(<em>Appears on:</em>
+<a href="#camel.apache.org/v1.CamelArtifact">CamelArtifact</a>, 
+<a href="#camel.apache.org/v1.CamelSchemeScope">CamelSchemeScope</a>)
+</p>
+<div>
+<p>CamelArtifactDependency represent a maven&rsquo;s dependency</p>
+</div>
+<table>
+<thead>
+<tr>
+<th>Field</th>
+<th>Description</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>
+<code>MavenArtifact</code><br/>
+<em>
+<a href="#camel.apache.org/v1.MavenArtifact">
+MavenArtifact
+</a>
+</em>
+</td>
+<td>
+<p>
+(Members of <code>MavenArtifact</code> are embedded into this type.)
+</p>
+</td>
+</tr>
+<tr>
+<td>
+<code>exclusions</code><br/>
+<em>
+<a href="#camel.apache.org/v1.CamelArtifactExclusion">
+[]CamelArtifactExclusion
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+</tbody>
+</table>
+<h3 id="camel.apache.org/v1.CamelArtifactExclusion">CamelArtifactExclusion
+</h3>
+<p>
+(<em>Appears on:</em>
+<a href="#camel.apache.org/v1.CamelArtifactDependency">CamelArtifactDependency</a>)
+</p>
+<div>
+<p>CamelArtifactExclusion &ndash;</p>
+</div>
+<table>
+<thead>
+<tr>
+<th>Field</th>
+<th>Description</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>
+<code>groupId</code><br/>
+<em>
+string
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>artifactId</code><br/>
+<em>
+string
+</em>
+</td>
+<td>
+</td>
+</tr>
+</tbody>
+</table>
+<h3 id="camel.apache.org/v1.CamelCatalogSpec">CamelCatalogSpec
+</h3>
+<p>
+(<em>Appears on:</em>
+<a href="#camel.apache.org/v1.CamelCatalog">CamelCatalog</a>)
+</p>
+<div>
+<p>CamelCatalogSpec defines the desired state of CamelCatalog</p>
+</div>
+<table>
+<thead>
+<tr>
+<th>Field</th>
+<th>Description</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>
+<code>runtime</code><br/>
+<em>
+<a href="#camel.apache.org/v1.RuntimeSpec">
+RuntimeSpec
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>artifacts</code><br/>
+<em>
+<a href="#camel.apache.org/v1.CamelArtifact">
+map[string]github.com/apache/camel-k/pkg/apis/camel/v1.CamelArtifact
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>loaders</code><br/>
+<em>
+<a href="#camel.apache.org/v1.CamelLoader">
+map[string]github.com/apache/camel-k/pkg/apis/camel/v1.CamelLoader
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+</tbody>
+</table>
+<h3 id="camel.apache.org/v1.CamelCatalogStatus">CamelCatalogStatus
+</h3>
+<p>
+(<em>Appears on:</em>
+<a href="#camel.apache.org/v1.CamelCatalog">CamelCatalog</a>)
+</p>
+<div>
+<p>CamelCatalogStatus defines the observed state of CamelCatalog</p>
+</div>
+<h3 id="camel.apache.org/v1.CamelLoader">CamelLoader
+</h3>
+<p>
+(<em>Appears on:</em>
+<a href="#camel.apache.org/v1.CamelCatalogSpec">CamelCatalogSpec</a>)
+</p>
+<div>
+<p>CamelLoader &ndash;</p>
+</div>
+<table>
+<thead>
+<tr>
+<th>Field</th>
+<th>Description</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>
+<code>MavenArtifact</code><br/>
+<em>
+<a href="#camel.apache.org/v1.MavenArtifact">
+MavenArtifact
+</a>
+</em>
+</td>
+<td>
+<p>
+(Members of <code>MavenArtifact</code> are embedded into this type.)
+</p>
+</td>
+</tr>
+<tr>
+<td>
+<code>languages</code><br/>
+<em>
+[]string
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>dependencies</code><br/>
+<em>
+<a href="#camel.apache.org/v1.MavenArtifact">
+[]MavenArtifact
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+</tbody>
+</table>
+<h3 id="camel.apache.org/v1.CamelScheme">CamelScheme
+</h3>
+<p>
+(<em>Appears on:</em>
+<a href="#camel.apache.org/v1.CamelArtifact">CamelArtifact</a>)
+</p>
+<div>
+<p>CamelScheme &ndash;</p>
+</div>
+<table>
+<thead>
+<tr>
+<th>Field</th>
+<th>Description</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>
+<code>id</code><br/>
+<em>
+string
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>passive</code><br/>
+<em>
+bool
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>http</code><br/>
+<em>
+bool
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>consumer</code><br/>
+<em>
+<a href="#camel.apache.org/v1.CamelSchemeScope">
+CamelSchemeScope
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>producer</code><br/>
+<em>
+<a href="#camel.apache.org/v1.CamelSchemeScope">
+CamelSchemeScope
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+</tbody>
+</table>
+<h3 id="camel.apache.org/v1.CamelSchemeScope">CamelSchemeScope
+</h3>
+<p>
+(<em>Appears on:</em>
+<a href="#camel.apache.org/v1.CamelScheme">CamelScheme</a>)
+</p>
+<div>
+<p>CamelSchemeScope contains scoped information about a scheme</p>
+</div>
+<table>
+<thead>
+<tr>
+<th>Field</th>
+<th>Description</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>
+<code>dependencies</code><br/>
+<em>
+<a href="#camel.apache.org/v1.CamelArtifactDependency">
+[]CamelArtifactDependency
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+</tbody>
+</table>
+<h3 id="camel.apache.org/v1.Capability">Capability
+</h3>
+<p>
+(<em>Appears on:</em>
+<a href="#camel.apache.org/v1.RuntimeSpec">RuntimeSpec</a>)
+</p>
+<div>
+<p>Capability &ndash;</p>
+</div>
+<table>
+<thead>
+<tr>
+<th>Field</th>
+<th>Description</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>
+<code>dependencies</code><br/>
+<em>
+<a href="#camel.apache.org/v1.MavenArtifact">
+[]MavenArtifact
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>metadata</code><br/>
+<em>
+map[string]string
+</em>
+</td>
+<td>
+</td>
+</tr>
+</tbody>
+</table>
+<h3 id="camel.apache.org/v1.Configurable">Configurable
+</h3>
+<div>
+<p>Configurable &ndash;</p>
+</div>
+<h3 id="camel.apache.org/v1.ConfigurationSpec">ConfigurationSpec
+</h3>
+<p>
+(<em>Appears on:</em>
+<a href="#camel.apache.org/v1.IntegrationKitSpec">IntegrationKitSpec</a>, 
+<a href="#camel.apache.org/v1.IntegrationPlatformSpec">IntegrationPlatformSpec</a>, 
+<a href="#camel.apache.org/v1.IntegrationSpec">IntegrationSpec</a>, 
+<a href="#camel.apache.org/v1.IntegrationStatus">IntegrationStatus</a>)
+</p>
+<div>
+<p>ConfigurationSpec &ndash;</p>
+</div>
+<table>
+<thead>
+<tr>
+<th>Field</th>
+<th>Description</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>
+<code>type</code><br/>
+<em>
+string
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>value</code><br/>
+<em>
+string
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>resourceType</code><br/>
+<em>
+string
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>resourceMountPoint</code><br/>
+<em>
+string
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>resourceKey</code><br/>
+<em>
+string
+</em>
+</td>
+<td>
+</td>
+</tr>
+</tbody>
+</table>
+<h3 id="camel.apache.org/v1.DataSpec">DataSpec
+</h3>
+<p>
+(<em>Appears on:</em>
+<a href="#camel.apache.org/v1.ResourceSpec">ResourceSpec</a>, 
+<a href="#camel.apache.org/v1.SourceSpec">SourceSpec</a>)
+</p>
+<div>
+<p>DataSpec &ndash;</p>
+</div>
+<table>
+<thead>
+<tr>
+<th>Field</th>
+<th>Description</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>
+<code>name</code><br/>
+<em>
+string
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>path</code><br/>
+<em>
+string
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>content</code><br/>
+<em>
+string
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>rawContent</code><br/>
+<em>
+[]byte
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>contentRef</code><br/>
+<em>
+string
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>contentKey</code><br/>
+<em>
+string
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>contentType</code><br/>
+<em>
+string
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>compression</code><br/>
+<em>
+bool
+</em>
+</td>
+<td>
+</td>
+</tr>
+</tbody>
+</table>
+<h3 id="camel.apache.org/v1.Failure">Failure
+</h3>
+<p>
+(<em>Appears on:</em>
+<a href="#camel.apache.org/v1.BuildStatus">BuildStatus</a>, 
+<a href="#camel.apache.org/v1.IntegrationKitStatus">IntegrationKitStatus</a>)
+</p>
+<div>
+<p>Failure &ndash;</p>
+</div>
+<table>
+<thead>
+<tr>
+<th>Field</th>
+<th>Description</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>
+<code>reason</code><br/>
+<em>
+string
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>time</code><br/>
+<em>
+<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#time-v1-meta">
+Kubernetes meta/v1.Time
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>recovery</code><br/>
+<em>
+<a href="#camel.apache.org/v1.FailureRecovery">
+FailureRecovery
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+</tbody>
+</table>
+<h3 id="camel.apache.org/v1.FailureRecovery">FailureRecovery
+</h3>
+<p>
+(<em>Appears on:</em>
+<a href="#camel.apache.org/v1.Failure">Failure</a>)
+</p>
+<div>
+<p>FailureRecovery &ndash;</p>
+</div>
+<table>
+<thead>
+<tr>
+<th>Field</th>
+<th>Description</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>
+<code>attempt</code><br/>
+<em>
+int
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>attemptMax</code><br/>
+<em>
+int
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>attemptTime</code><br/>
+<em>
+<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#time-v1-meta">
+Kubernetes meta/v1.Time
+</a>
+</em>
+</td>
+<td>
+<em>(Optional)</em>
+</td>
+</tr>
+</tbody>
+</table>
+<h3 id="camel.apache.org/v1.Flow">Flow
+</h3>
+<p>
+(<em>Appears on:</em>
+<a href="#camel.apache.org/v1.IntegrationSpec">IntegrationSpec</a>, 
+<a href="#camel.apache.org/v1alpha1.KameletSpec">KameletSpec</a>)
+</p>
+<div>
+<p>Flow is an unstructured object representing a Camel Flow in YAML/JSON DSL</p>
+</div>
+<table>
+<thead>
+<tr>
+<th>Field</th>
+<th>Description</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>
+<code>RawMessage</code><br/>
+<em>
+<a href="#camel.apache.org/v1.RawMessage">
+RawMessage
+</a>
+</em>
+</td>
+<td>
+<p>
+(Members of <code>RawMessage</code> are embedded into this type.)
+</p>
+</td>
+</tr>
+</tbody>
+</table>
+<h3 id="camel.apache.org/v1.IntegrationCondition">IntegrationCondition
+</h3>
+<p>
+(<em>Appears on:</em>
+<a href="#camel.apache.org/v1.IntegrationStatus">IntegrationStatus</a>)
+</p>
+<div>
+<p>IntegrationCondition describes the state of a resource at a certain point.</p>
+</div>
+<table>
+<thead>
+<tr>
+<th>Field</th>
+<th>Description</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>
+<code>type</code><br/>
+<em>
+<a href="#camel.apache.org/v1.IntegrationConditionType">
+IntegrationConditionType
+</a>
+</em>
+</td>
+<td>
+<p>Type of integration condition.</p>
+</td>
+</tr>
+<tr>
+<td>
+<code>status</code><br/>
+<em>
+<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#conditionstatus-v1-core">
+Kubernetes core/v1.ConditionStatus
+</a>
+</em>
+</td>
+<td>
+<p>Status of the condition, one of True, False, Unknown.</p>
+</td>
+</tr>
+<tr>
+<td>
+<code>lastUpdateTime</code><br/>
+<em>
+<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#time-v1-meta">
+Kubernetes meta/v1.Time
+</a>
+</em>
+</td>
+<td>
+<p>The last time this condition was updated.</p>
+</td>
+</tr>
+<tr>
+<td>
+<code>lastTransitionTime</code><br/>
+<em>
+<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#time-v1-meta">
+Kubernetes meta/v1.Time
+</a>
+</em>
+</td>
+<td>
+<p>Last time the condition transitioned from one status to another.</p>
+</td>
+</tr>
+<tr>
+<td>
+<code>firstTruthyTime</code><br/>
+<em>
+<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#time-v1-meta">
+Kubernetes meta/v1.Time
+</a>
+</em>
+</td>
+<td>
+<p>First time the condition status transitioned to True.</p>
+</td>
+</tr>
+<tr>
+<td>
+<code>reason</code><br/>
+<em>
+string
+</em>
+</td>
+<td>
+<p>The reason for the condition&rsquo;s last transition.</p>
+</td>
+</tr>
+<tr>
+<td>
+<code>message</code><br/>
+<em>
+string
+</em>
+</td>
+<td>
+<p>A human-readable message indicating details about the transition.</p>
+</td>
+</tr>
+</tbody>
+</table>
+<h3 id="camel.apache.org/v1.IntegrationConditionType">IntegrationConditionType
+(<code>string</code> alias)</h3>
+<p>
+(<em>Appears on:</em>
+<a href="#camel.apache.org/v1.IntegrationCondition">IntegrationCondition</a>)
+</p>
+<div>
+<p>IntegrationConditionType &ndash;</p>
+</div>
+<h3 id="camel.apache.org/v1.IntegrationKitCondition">IntegrationKitCondition
+</h3>
+<p>
+(<em>Appears on:</em>
+<a href="#camel.apache.org/v1.IntegrationKitStatus">IntegrationKitStatus</a>)
+</p>
+<div>
+<p>IntegrationKitCondition describes the state of a resource at a certain point.</p>
+</div>
+<table>
+<thead>
+<tr>
+<th>Field</th>
+<th>Description</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>
+<code>type</code><br/>
+<em>
+<a href="#camel.apache.org/v1.IntegrationKitConditionType">
+IntegrationKitConditionType
+</a>
+</em>
+</td>
+<td>
+<p>Type of integration condition.</p>
+</td>
+</tr>
+<tr>
+<td>
+<code>status</code><br/>
+<em>
+<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#conditionstatus-v1-core">
+Kubernetes core/v1.ConditionStatus
+</a>
+</em>
+</td>
+<td>
+<p>Status of the condition, one of True, False, Unknown.</p>
+</td>
+</tr>
+<tr>
+<td>
+<code>lastUpdateTime</code><br/>
+<em>
+<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#time-v1-meta">
+Kubernetes meta/v1.Time
+</a>
+</em>
+</td>
+<td>
+<p>The last time this condition was updated.</p>
+</td>
+</tr>
+<tr>
+<td>
+<code>lastTransitionTime</code><br/>
+<em>
+<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#time-v1-meta">
+Kubernetes meta/v1.Time
+</a>
+</em>
+</td>
+<td>
+<p>Last time the condition transitioned from one status to another.</p>
+</td>
+</tr>
+<tr>
+<td>
+<code>reason</code><br/>
+<em>
+string
+</em>
+</td>
+<td>
+<p>The reason for the condition&rsquo;s last transition.</p>
+</td>
+</tr>
+<tr>
+<td>
+<code>message</code><br/>
+<em>
+string
+</em>
+</td>
+<td>
+<p>A human-readable message indicating details about the transition.</p>
+</td>
+</tr>
+</tbody>
+</table>
+<h3 id="camel.apache.org/v1.IntegrationKitConditionType">IntegrationKitConditionType
+(<code>string</code> alias)</h3>
+<p>
+(<em>Appears on:</em>
+<a href="#camel.apache.org/v1.IntegrationKitCondition">IntegrationKitCondition</a>)
+</p>
+<div>
+<p>IntegrationKitConditionType &ndash;</p>
+</div>
+<h3 id="camel.apache.org/v1.IntegrationKitPhase">IntegrationKitPhase
+(<code>string</code> alias)</h3>
+<p>
+(<em>Appears on:</em>
+<a href="#camel.apache.org/v1.IntegrationKitStatus">IntegrationKitStatus</a>)
+</p>
+<div>
+<p>IntegrationKitPhase &ndash;</p>
+</div>
+<h3 id="camel.apache.org/v1.IntegrationKitSpec">IntegrationKitSpec
+</h3>
+<p>
+(<em>Appears on:</em>
+<a href="#camel.apache.org/v1.IntegrationKit">IntegrationKit</a>)
+</p>
+<div>
+<p>IntegrationKitSpec defines the desired state of IntegrationKit</p>
+</div>
+<table>
+<thead>
+<tr>
+<th>Field</th>
+<th>Description</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>
+<code>image</code><br/>
+<em>
+string
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>dependencies</code><br/>
+<em>
+[]string
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>profile</code><br/>
+<em>
+<a href="#camel.apache.org/v1.TraitProfile">
+TraitProfile
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>traits</code><br/>
+<em>
+<a href="#camel.apache.org/v1.TraitSpec">
+map[string]github.com/apache/camel-k/pkg/apis/camel/v1.TraitSpec
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>configuration</code><br/>
+<em>
+<a href="#camel.apache.org/v1.ConfigurationSpec">
+[]ConfigurationSpec
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>repositories</code><br/>
+<em>
+[]string
+</em>
+</td>
+<td>
+</td>
+</tr>
+</tbody>
+</table>
+<h3 id="camel.apache.org/v1.IntegrationKitStatus">IntegrationKitStatus
+</h3>
+<p>
+(<em>Appears on:</em>
+<a href="#camel.apache.org/v1.IntegrationKit">IntegrationKit</a>)
+</p>
+<div>
+<p>IntegrationKitStatus defines the observed state of IntegrationKit</p>
+</div>
+<table>
+<thead>
+<tr>
+<th>Field</th>
+<th>Description</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>
+<code>phase</code><br/>
+<em>
+<a href="#camel.apache.org/v1.IntegrationKitPhase">
+IntegrationKitPhase
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>baseImage</code><br/>
+<em>
+string
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>image</code><br/>
+<em>
+string
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>digest</code><br/>
+<em>
+string
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>artifacts</code><br/>
+<em>
+<a href="#camel.apache.org/v1.Artifact">
+[]Artifact
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>failure</code><br/>
+<em>
+<a href="#camel.apache.org/v1.Failure">
+Failure
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>runtimeVersion</code><br/>
+<em>
+string
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>runtimeProvider</code><br/>
+<em>
+<a href="#camel.apache.org/v1.RuntimeProvider">
+RuntimeProvider
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>platform</code><br/>
+<em>
+string
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>conditions</code><br/>
+<em>
+<a href="#camel.apache.org/v1.IntegrationKitCondition">
+[]IntegrationKitCondition
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>version</code><br/>
+<em>
+string
+</em>
+</td>
+<td>
+</td>
+</tr>
+</tbody>
+</table>
+<h3 id="camel.apache.org/v1.IntegrationPhase">IntegrationPhase
+(<code>string</code> alias)</h3>
+<p>
+(<em>Appears on:</em>
+<a href="#camel.apache.org/v1.IntegrationStatus">IntegrationStatus</a>)
+</p>
+<div>
+<p>IntegrationPhase &ndash;</p>
+</div>
+<h3 id="camel.apache.org/v1.IntegrationPlatformBuildPublishStrategy">IntegrationPlatformBuildPublishStrategy
+(<code>string</code> alias)</h3>
+<p>
+(<em>Appears on:</em>
+<a href="#camel.apache.org/v1.IntegrationPlatformBuildSpec">IntegrationPlatformBuildSpec</a>)
+</p>
+<div>
+<p>IntegrationPlatformBuildPublishStrategy enumerates all implemented publish strategies</p>
+</div>
+<h3 id="camel.apache.org/v1.IntegrationPlatformBuildSpec">IntegrationPlatformBuildSpec
+</h3>
+<p>
+(<em>Appears on:</em>
+<a href="#camel.apache.org/v1.IntegrationPlatformSpec">IntegrationPlatformSpec</a>)
+</p>
+<div>
+<p>IntegrationPlatformBuildSpec contains platform related build information</p>
+</div>
+<table>
+<thead>
+<tr>
+<th>Field</th>
+<th>Description</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>
+<code>buildStrategy</code><br/>
+<em>
+<a href="#camel.apache.org/v1.BuildStrategy">
+BuildStrategy
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>publishStrategy</code><br/>
+<em>
+<a href="#camel.apache.org/v1.IntegrationPlatformBuildPublishStrategy">
+IntegrationPlatformBuildPublishStrategy
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>runtimeVersion</code><br/>
+<em>
+string
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>runtimeProvider</code><br/>
+<em>
+<a href="#camel.apache.org/v1.RuntimeProvider">
+RuntimeProvider
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>baseImage</code><br/>
+<em>
+string
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>registry</code><br/>
+<em>
+<a href="#camel.apache.org/v1.RegistrySpec">
+RegistrySpec
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>timeout</code><br/>
+<em>
+<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#duration-v1-meta">
+Kubernetes meta/v1.Duration
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>persistentVolumeClaim</code><br/>
+<em>
+string
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>maven</code><br/>
+<em>
+<a href="#camel.apache.org/v1.MavenSpec">
+MavenSpec
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>kanikoBuildCache</code><br/>
+<em>
+bool
+</em>
+</td>
+<td>
+</td>
+</tr>
+</tbody>
+</table>
+<h3 id="camel.apache.org/v1.IntegrationPlatformCluster">IntegrationPlatformCluster
+(<code>string</code> alias)</h3>
+<p>
+(<em>Appears on:</em>
+<a href="#camel.apache.org/v1.IntegrationPlatformSpec">IntegrationPlatformSpec</a>)
+</p>
+<div>
+<p>IntegrationPlatformCluster is the kind of orchestration cluster the platform is installed into</p>
+</div>
+<h3 id="camel.apache.org/v1.IntegrationPlatformCondition">IntegrationPlatformCondition
+</h3>
+<p>
+(<em>Appears on:</em>
+<a href="#camel.apache.org/v1.IntegrationPlatformStatus">IntegrationPlatformStatus</a>)
+</p>
+<div>
+<p>IntegrationPlatformCondition describes the state of a resource at a certain point.</p>
+</div>
+<table>
+<thead>
+<tr>
+<th>Field</th>
+<th>Description</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>
+<code>type</code><br/>
+<em>
+<a href="#camel.apache.org/v1.IntegrationPlatformConditionType">
+IntegrationPlatformConditionType
+</a>
+</em>
+</td>
+<td>
+<p>Type of integration condition.</p>
+</td>
+</tr>
+<tr>
+<td>
+<code>status</code><br/>
+<em>
+<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#conditionstatus-v1-core">
+Kubernetes core/v1.ConditionStatus
+</a>
+</em>
+</td>
+<td>
+<p>Status of the condition, one of True, False, Unknown.</p>
+</td>
+</tr>
+<tr>
+<td>
+<code>lastUpdateTime</code><br/>
+<em>
+<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#time-v1-meta">
+Kubernetes meta/v1.Time
+</a>
+</em>
+</td>
+<td>
+<p>The last time this condition was updated.</p>
+</td>
+</tr>
+<tr>
+<td>
+<code>lastTransitionTime</code><br/>
+<em>
+<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#time-v1-meta">
+Kubernetes meta/v1.Time
+</a>
+</em>
+</td>
+<td>
+<p>Last time the condition transitioned from one status to another.</p>
+</td>
+</tr>
+<tr>
+<td>
+<code>reason</code><br/>
+<em>
+string
+</em>
+</td>
+<td>
+<p>The reason for the condition&rsquo;s last transition.</p>
+</td>
+</tr>
+<tr>
+<td>
+<code>message</code><br/>
+<em>
+string
+</em>
+</td>
+<td>
+<p>A human-readable message indicating details about the transition.</p>
+</td>
+</tr>
+</tbody>
+</table>
+<h3 id="camel.apache.org/v1.IntegrationPlatformConditionType">IntegrationPlatformConditionType
+(<code>string</code> alias)</h3>
+<p>
+(<em>Appears on:</em>
+<a href="#camel.apache.org/v1.IntegrationPlatformCondition">IntegrationPlatformCondition</a>)
+</p>
+<div>
+<p>IntegrationPlatformConditionType &ndash;</p>
+</div>
+<h3 id="camel.apache.org/v1.IntegrationPlatformKameletRepositorySpec">IntegrationPlatformKameletRepositorySpec
+</h3>
+<p>
+(<em>Appears on:</em>
+<a href="#camel.apache.org/v1.IntegrationPlatformKameletSpec">IntegrationPlatformKameletSpec</a>)
+</p>
+<div>
+<p>IntegrationPlatformKameletRepositorySpec &ndash;</p>
+</div>
+<table>
+<thead>
+<tr>
+<th>Field</th>
+<th>Description</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>
+<code>uri</code><br/>
+<em>
+string
+</em>
+</td>
+<td>
+</td>
+</tr>
+</tbody>
+</table>
+<h3 id="camel.apache.org/v1.IntegrationPlatformKameletSpec">IntegrationPlatformKameletSpec
+</h3>
+<p>
+(<em>Appears on:</em>
+<a href="#camel.apache.org/v1.IntegrationPlatformSpec">IntegrationPlatformSpec</a>)
+</p>
+<div>
+<p>IntegrationPlatformKameletSpec &ndash;</p>
+</div>
+<table>
+<thead>
+<tr>
+<th>Field</th>
+<th>Description</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>
+<code>repositories</code><br/>
+<em>
+<a href="#camel.apache.org/v1.IntegrationPlatformKameletRepositorySpec">
+[]IntegrationPlatformKameletRepositorySpec
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+</tbody>
+</table>
+<h3 id="camel.apache.org/v1.IntegrationPlatformPhase">IntegrationPlatformPhase
+(<code>string</code> alias)</h3>
+<p>
+(<em>Appears on:</em>
+<a href="#camel.apache.org/v1.IntegrationPlatformStatus">IntegrationPlatformStatus</a>)
+</p>
+<div>
+<p>IntegrationPlatformPhase &ndash;</p>
+</div>
+<h3 id="camel.apache.org/v1.IntegrationPlatformResourcesSpec">IntegrationPlatformResourcesSpec
+</h3>
+<p>
+(<em>Appears on:</em>
+<a href="#camel.apache.org/v1.IntegrationPlatformSpec">IntegrationPlatformSpec</a>)
+</p>
+<div>
+<p>IntegrationPlatformResourcesSpec contains platform related resources</p>
+</div>
+<h3 id="camel.apache.org/v1.IntegrationPlatformSpec">IntegrationPlatformSpec
+</h3>
+<p>
+(<em>Appears on:</em>
+<a href="#camel.apache.org/v1.IntegrationPlatform">IntegrationPlatform</a>, 
+<a href="#camel.apache.org/v1.IntegrationPlatformStatus">IntegrationPlatformStatus</a>)
+</p>
+<div>
+<p>IntegrationPlatformSpec defines the desired state of IntegrationPlatform</p>
+</div>
+<table>
+<thead>
+<tr>
+<th>Field</th>
+<th>Description</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>
+<code>cluster</code><br/>
+<em>
+<a href="#camel.apache.org/v1.IntegrationPlatformCluster">
+IntegrationPlatformCluster
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>profile</code><br/>
+<em>
+<a href="#camel.apache.org/v1.TraitProfile">
+TraitProfile
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>build</code><br/>
+<em>
+<a href="#camel.apache.org/v1.IntegrationPlatformBuildSpec">
+IntegrationPlatformBuildSpec
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>resources</code><br/>
+<em>
+<a href="#camel.apache.org/v1.IntegrationPlatformResourcesSpec">
+IntegrationPlatformResourcesSpec
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>traits</code><br/>
+<em>
+<a href="#camel.apache.org/v1.TraitSpec">
+map[string]github.com/apache/camel-k/pkg/apis/camel/v1.TraitSpec
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>configuration</code><br/>
+<em>
+<a href="#camel.apache.org/v1.ConfigurationSpec">
+[]ConfigurationSpec
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>kamelet</code><br/>
+<em>
+<a href="#camel.apache.org/v1.IntegrationPlatformKameletSpec">
+IntegrationPlatformKameletSpec
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+</tbody>
+</table>
+<h3 id="camel.apache.org/v1.IntegrationPlatformStatus">IntegrationPlatformStatus
+</h3>
+<p>
+(<em>Appears on:</em>
+<a href="#camel.apache.org/v1.IntegrationPlatform">IntegrationPlatform</a>)
+</p>
+<div>
+<p>IntegrationPlatformStatus defines the observed state of IntegrationPlatform</p>
+</div>
+<table>
+<thead>
+<tr>
+<th>Field</th>
+<th>Description</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>
+<code>IntegrationPlatformSpec</code><br/>
+<em>
+<a href="#camel.apache.org/v1.IntegrationPlatformSpec">
+IntegrationPlatformSpec
+</a>
+</em>
+</td>
+<td>
+<p>
+(Members of <code>IntegrationPlatformSpec</code> are embedded into this type.)
+</p>
+</td>
+</tr>
+<tr>
+<td>
+<code>phase</code><br/>
+<em>
+<a href="#camel.apache.org/v1.IntegrationPlatformPhase">
+IntegrationPlatformPhase
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>conditions</code><br/>
+<em>
+<a href="#camel.apache.org/v1.IntegrationPlatformCondition">
+[]IntegrationPlatformCondition
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>version</code><br/>
+<em>
+string
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>info</code><br/>
+<em>
+map[string]string
+</em>
+</td>
+<td>
+</td>
+</tr>
+</tbody>
+</table>
+<h3 id="camel.apache.org/v1.IntegrationSpec">IntegrationSpec
+</h3>
+<p>
+(<em>Appears on:</em>
+<a href="#camel.apache.org/v1.Integration">Integration</a>, 
+<a href="#camel.apache.org/v1alpha1.KameletBindingSpec">KameletBindingSpec</a>)
+</p>
+<div>
+<p>IntegrationSpec defines the desired state of Integration</p>
+</div>
+<table>
+<thead>
+<tr>
+<th>Field</th>
+<th>Description</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>
+<code>replicas</code><br/>
+<em>
+int32
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>sources</code><br/>
+<em>
+<a href="#camel.apache.org/v1.SourceSpec">
+[]SourceSpec
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>flows</code><br/>
+<em>
+<a href="#camel.apache.org/v1.Flow">
+[]Flow
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>resources</code><br/>
+<em>
+<a href="#camel.apache.org/v1.ResourceSpec">
+[]ResourceSpec
+</a>
+</em>
+</td>
+<td>
+<p>Deprecated:
+Use container trait (container.resources) to manage resources
+Use openapi trait (openapi.configmaps) to manage OpenAPIs specifications</p>
+</td>
+</tr>
+<tr>
+<td>
+<code>integrationKit</code><br/>
+<em>
+<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#objectreference-v1-core">
+Kubernetes core/v1.ObjectReference
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>dependencies</code><br/>
+<em>
+[]string
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>profile</code><br/>
+<em>
+<a href="#camel.apache.org/v1.TraitProfile">
+TraitProfile
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>traits</code><br/>
+<em>
+<a href="#camel.apache.org/v1.TraitSpec">
+map[string]github.com/apache/camel-k/pkg/apis/camel/v1.TraitSpec
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>template</code><br/>
+<em>
+<a href="#camel.apache.org/v1.PodSpecTemplate">
+PodSpecTemplate
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>configuration</code><br/>
+<em>
+<a href="#camel.apache.org/v1.ConfigurationSpec">
+[]ConfigurationSpec
+</a>
+</em>
+</td>
+<td>
+<p>Deprecated:
+Use camel trait (camel.properties) to manage properties
+Use container trait (container.configs) to manage configs
+Use container trait (container.resources) to manage resources
+Use container trait (container.volumes) to manage volumes</p>
+</td>
+</tr>
+<tr>
+<td>
+<code>repositories</code><br/>
+<em>
+[]string
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>serviceAccountName</code><br/>
+<em>
+string
+</em>
+</td>
+<td>
+</td>
+</tr>
+</tbody>
+</table>
+<h3 id="camel.apache.org/v1.IntegrationStatus">IntegrationStatus
+</h3>
+<p>
+(<em>Appears on:</em>
+<a href="#camel.apache.org/v1.Integration">Integration</a>)
+</p>
+<div>
+<p>IntegrationStatus defines the observed state of Integration</p>
+</div>
+<table>
+<thead>
+<tr>
+<th>Field</th>
+<th>Description</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>
+<code>phase</code><br/>
+<em>
+<a href="#camel.apache.org/v1.IntegrationPhase">
+IntegrationPhase
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>digest</code><br/>
+<em>
+string
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>image</code><br/>
+<em>
+string
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>dependencies</code><br/>
+<em>
+[]string
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>profile</code><br/>
+<em>
+<a href="#camel.apache.org/v1.TraitProfile">
+TraitProfile
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>kit</code><br/>
+<em>
+string
+</em>
+</td>
+<td>
+<p>Deprecated: use the IntegrationKit field</p>
+</td>
+</tr>
+<tr>
+<td>
+<code>integrationKit</code><br/>
+<em>
+<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#objectreference-v1-core">
+Kubernetes core/v1.ObjectReference
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>platform</code><br/>
+<em>
+string
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>generatedSources</code><br/>
+<em>
+<a href="#camel.apache.org/v1.SourceSpec">
+[]SourceSpec
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>generatedResources</code><br/>
+<em>
+<a href="#camel.apache.org/v1.ResourceSpec">
+[]ResourceSpec
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>runtimeVersion</code><br/>
+<em>
+string
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>runtimeProvider</code><br/>
+<em>
+<a href="#camel.apache.org/v1.RuntimeProvider">
+RuntimeProvider
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>configuration</code><br/>
+<em>
+<a href="#camel.apache.org/v1.ConfigurationSpec">
+[]ConfigurationSpec
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>conditions</code><br/>
+<em>
+<a href="#camel.apache.org/v1.IntegrationCondition">
+[]IntegrationCondition
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>version</code><br/>
+<em>
+string
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>replicas</code><br/>
+<em>
+int32
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>selector</code><br/>
+<em>
+string
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>capabilities</code><br/>
+<em>
+[]string
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>lastInitTimestamp</code><br/>
+<em>
+<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#time-v1-meta">
+Kubernetes meta/v1.Time
+</a>
+</em>
+</td>
+<td>
+<p>The timestamp representing the last time when this integration was initialized.</p>
+</td>
+</tr>
+</tbody>
+</table>
+<h3 id="camel.apache.org/v1.KanikoTask">KanikoTask
+</h3>
+<p>
+(<em>Appears on:</em>
+<a href="#camel.apache.org/v1.Task">Task</a>)
+</p>
+<div>
+<p>KanikoTask &ndash;</p>
+</div>
+<table>
+<thead>
+<tr>
+<th>Field</th>
+<th>Description</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>
+<code>BaseTask</code><br/>
+<em>
+<a href="#camel.apache.org/v1.BaseTask">
+BaseTask
+</a>
+</em>
+</td>
+<td>
+<p>
+(Members of <code>BaseTask</code> are embedded into this type.)
+</p>
+</td>
+</tr>
+<tr>
+<td>
+<code>PublishTask</code><br/>
+<em>
+<a href="#camel.apache.org/v1.PublishTask">
+PublishTask
+</a>
+</em>
+</td>
+<td>
+<p>
+(Members of <code>PublishTask</code> are embedded into this type.)
+</p>
+</td>
+</tr>
+<tr>
+<td>
+<code>verbose</code><br/>
+<em>
+bool
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>cache</code><br/>
+<em>
+<a href="#camel.apache.org/v1.KanikoTaskCache">
+KanikoTaskCache
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+</tbody>
+</table>
+<h3 id="camel.apache.org/v1.KanikoTaskCache">KanikoTaskCache
+</h3>
+<p>
+(<em>Appears on:</em>
+<a href="#camel.apache.org/v1.KanikoTask">KanikoTask</a>)
+</p>
+<div>
+<p>KanikoTaskCache &ndash;</p>
+</div>
+<table>
+<thead>
+<tr>
+<th>Field</th>
+<th>Description</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>
+<code>enabled</code><br/>
+<em>
+bool
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>persistentVolumeClaim</code><br/>
+<em>
+string
+</em>
+</td>
+<td>
+</td>
+</tr>
+</tbody>
+</table>
+<h3 id="camel.apache.org/v1.Language">Language
+(<code>string</code> alias)</h3>
+<p>
+(<em>Appears on:</em>
+<a href="#camel.apache.org/v1.SourceSpec">SourceSpec</a>)
+</p>
+<div>
+<p>Language &ndash;</p>
+</div>
+<h3 id="camel.apache.org/v1.MavenArtifact">MavenArtifact
+</h3>
+<p>
+(<em>Appears on:</em>
+<a href="#camel.apache.org/v1.CamelArtifactDependency">CamelArtifactDependency</a>, 
+<a href="#camel.apache.org/v1.CamelLoader">CamelLoader</a>, 
+<a href="#camel.apache.org/v1.Capability">Capability</a>, 
+<a href="#camel.apache.org/v1.MavenSpec">MavenSpec</a>, 
+<a href="#camel.apache.org/v1.RuntimeSpec">RuntimeSpec</a>)
+</p>
+<div>
+<p>MavenArtifact defines a Maven artifact</p>
+</div>
+<table>
+<thead>
+<tr>
+<th>Field</th>
+<th>Description</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>
+<code>groupId</code><br/>
+<em>
+string
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>artifactId</code><br/>
+<em>
+string
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>version</code><br/>
+<em>
+string
+</em>
+</td>
+<td>
+</td>
+</tr>
+</tbody>
+</table>
+<h3 id="camel.apache.org/v1.MavenBuildSpec">MavenBuildSpec
+</h3>
+<p>
+(<em>Appears on:</em>
+<a href="#camel.apache.org/v1.BuilderTask">BuilderTask</a>)
+</p>
+<div>
+<p>MavenBuildSpec &ndash;</p>
+</div>
+<table>
+<thead>
+<tr>
+<th>Field</th>
+<th>Description</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>
+<code>MavenSpec</code><br/>
+<em>
+<a href="#camel.apache.org/v1.MavenSpec">
+MavenSpec
+</a>
+</em>
+</td>
+<td>
+<p>
+(Members of <code>MavenSpec</code> are embedded into this type.)
+</p>
+</td>
+</tr>
+<tr>
+<td>
+<code>repositories</code><br/>
+<em>
+<a href="#camel.apache.org/v1.Repository">
+[]Repository
+</a>
+</em>
+</td>
+<td>
+<p>The Maven repositories.</p>
+</td>
+</tr>
+</tbody>
+</table>
+<h3 id="camel.apache.org/v1.MavenSpec">MavenSpec
+</h3>
+<p>
+(<em>Appears on:</em>
+<a href="#camel.apache.org/v1.IntegrationPlatformBuildSpec">IntegrationPlatformBuildSpec</a>, 
+<a href="#camel.apache.org/v1.MavenBuildSpec">MavenBuildSpec</a>)
+</p>
+<div>
+<p>MavenSpec &ndash;</p>
+</div>
+<table>
+<thead>
+<tr>
+<th>Field</th>
+<th>Description</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>
+<code>localRepository</code><br/>
+<em>
+string
+</em>
+</td>
+<td>
+<p>The path of the local Maven repository.</p>
+</td>
+</tr>
+<tr>
+<td>
+<code>properties</code><br/>
+<em>
+map[string]string
+</em>
+</td>
+<td>
+<p>The Maven properties.</p>
+</td>
+</tr>
+<tr>
+<td>
+<code>settings</code><br/>
+<em>
+<a href="#camel.apache.org/v1.ValueSource">
+ValueSource
+</a>
+</em>
+</td>
+<td>
+<p>A reference to the ConfigMap or Secret key that contains
+the Maven settings.</p>
+</td>
+</tr>
+<tr>
+<td>
+<code>caSecret</code><br/>
+<em>
+<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#secretkeyselector-v1-core">
+Kubernetes core/v1.SecretKeySelector
+</a>
+</em>
+</td>
+<td>
+<p>The Secret name and key, containing the CA certificate(s) used to connect
+to remote Maven repositories.
+It can contain X.509 certificates, and PKCS#7 formatted certificate chains.
+A JKS formatted keystore is automatically created to store the CA certificate(s),
+and configured to be used as a trusted certificate(s) by the Maven commands.
+Note that the root CA certificates are also imported into the created keystore.</p>
+</td>
+</tr>
+<tr>
+<td>
+<code>extension</code><br/>
+<em>
+<a href="#camel.apache.org/v1.MavenArtifact">
+[]MavenArtifact
+</a>
+</em>
+</td>
+<td>
+<p>The Maven build extensions.
+See <a href="https://maven.apache.org/guides/mini/guide-using-extensions.html">https://maven.apache.org/guides/mini/guide-using-extensions.html</a>.</p>
+</td>
+</tr>
+<tr>
+<td>
+<code>cliOptions</code><br/>
+<em>
+[]string
+</em>
+</td>
+<td>
+<p>The CLI options that are appended to the list of arguments for Maven commands,
+e.g., <code>-V,--no-transfer-progress,-Dstyle.color=never</code>.
+See <a href="https://maven.apache.org/ref/3.8.4/maven-embedder/cli.html">https://maven.apache.org/ref/3.8.4/maven-embedder/cli.html</a>.</p>
+</td>
+</tr>
+</tbody>
+</table>
+<h3 id="camel.apache.org/v1.PodSpec">PodSpec
+</h3>
+<p>
+(<em>Appears on:</em>
+<a href="#camel.apache.org/v1.PodSpecTemplate">PodSpecTemplate</a>)
+</p>
+<div>
+</div>
+<table>
+<thead>
+<tr>
+<th>Field</th>
+<th>Description</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>
+<code>volumes</code><br/>
+<em>
+<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#volume-v1-core">
+[]Kubernetes core/v1.Volume
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>initContainers</code><br/>
+<em>
+<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#container-v1-core">
+[]Kubernetes core/v1.Container
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>containers</code><br/>
+<em>
+<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#container-v1-core">
+[]Kubernetes core/v1.Container
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>ephemeralContainers</code><br/>
+<em>
+<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#ephemeralcontainer-v1-core">
+[]Kubernetes core/v1.EphemeralContainer
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>restartPolicy</code><br/>
+<em>
+<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#restartpolicy-v1-core">
+Kubernetes core/v1.RestartPolicy
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>terminationGracePeriodSeconds</code><br/>
+<em>
+int64
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>activeDeadlineSeconds</code><br/>
+<em>
+int64
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>dnsPolicy</code><br/>
+<em>
+<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#dnspolicy-v1-core">
+Kubernetes core/v1.DNSPolicy
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>nodeSelector</code><br/>
+<em>
+map[string]string
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>topologySpreadConstraints</code><br/>
+<em>
+<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#topologyspreadconstraint-v1-core">
+[]Kubernetes core/v1.TopologySpreadConstraint
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+</tbody>
+</table>
+<h3 id="camel.apache.org/v1.PodSpecTemplate">PodSpecTemplate
+</h3>
+<p>
+(<em>Appears on:</em>
+<a href="#camel.apache.org/v1.IntegrationSpec">IntegrationSpec</a>)
+</p>
+<div>
+</div>
+<table>
+<thead>
+<tr>
+<th>Field</th>
+<th>Description</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>
+<code>spec</code><br/>
+<em>
+<a href="#camel.apache.org/v1.PodSpec">
+PodSpec
+</a>
+</em>
+</td>
+<td>
+<br/>
+<br/>
+<table>
+<tr>
+<td>
+<code>volumes</code><br/>
+<em>
+<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#volume-v1-core">
+[]Kubernetes core/v1.Volume
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>initContainers</code><br/>
+<em>
+<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#container-v1-core">
+[]Kubernetes core/v1.Container
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>containers</code><br/>
+<em>
+<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#container-v1-core">
+[]Kubernetes core/v1.Container
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>ephemeralContainers</code><br/>
+<em>
+<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#ephemeralcontainer-v1-core">
+[]Kubernetes core/v1.EphemeralContainer
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>restartPolicy</code><br/>
+<em>
+<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#restartpolicy-v1-core">
+Kubernetes core/v1.RestartPolicy
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>terminationGracePeriodSeconds</code><br/>
+<em>
+int64
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>activeDeadlineSeconds</code><br/>
+<em>
+int64
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>dnsPolicy</code><br/>
+<em>
+<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#dnspolicy-v1-core">
+Kubernetes core/v1.DNSPolicy
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>nodeSelector</code><br/>
+<em>
+map[string]string
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>topologySpreadConstraints</code><br/>
+<em>
+<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#topologyspreadconstraint-v1-core">
+[]Kubernetes core/v1.TopologySpreadConstraint
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+</table>
+</td>
+</tr>
+</tbody>
+</table>
+<h3 id="camel.apache.org/v1.PublishTask">PublishTask
+</h3>
+<p>
+(<em>Appears on:</em>
+<a href="#camel.apache.org/v1.BuildahTask">BuildahTask</a>, 
+<a href="#camel.apache.org/v1.KanikoTask">KanikoTask</a>, 
+<a href="#camel.apache.org/v1.SpectrumTask">SpectrumTask</a>)
+</p>
+<div>
+<p>PublishTask &ndash;</p>
+</div>
+<table>
+<thead>
+<tr>
+<th>Field</th>
+<th>Description</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>
+<code>contextDir</code><br/>
+<em>
+string
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>baseImage</code><br/>
+<em>
+string
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>image</code><br/>
+<em>
+string
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>registry</code><br/>
+<em>
+<a href="#camel.apache.org/v1.RegistrySpec">
+RegistrySpec
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+</tbody>
+</table>
+<h3 id="camel.apache.org/v1.RawMessage">RawMessage
+(<code>[]byte</code> alias)</h3>
+<p>
+(<em>Appears on:</em>
+<a href="#camel.apache.org/v1alpha1.BeanProperties">BeanProperties</a>, 
+<a href="#camel.apache.org/v1alpha1.EndpointProperties">EndpointProperties</a>, 
+<a href="#camel.apache.org/v1alpha1.ErrorHandlerParameters">ErrorHandlerParameters</a>, 
+<a href="#camel.apache.org/v1alpha1.ErrorHandlerSpec">ErrorHandlerSpec</a>, 
+<a href="#camel.apache.org/v1.Flow">Flow</a>, 
+<a href="#camel.apache.org/v1.Template">Template</a>, 
+<a href="#camel.apache.org/v1.TraitConfiguration">TraitConfiguration</a>)
+</p>
+<div>
+<p>RawMessage is a raw encoded JSON value.
+It implements Marshaler and Unmarshaler and can
+be used to delay JSON decoding or precompute a JSON encoding.</p>
+</div>
+<h3 id="camel.apache.org/v1.RegistrySpec">RegistrySpec
+</h3>
+<p>
+(<em>Appears on:</em>
+<a href="#camel.apache.org/v1.IntegrationPlatformBuildSpec">IntegrationPlatformBuildSpec</a>, 
+<a href="#camel.apache.org/v1.PublishTask">PublishTask</a>)
+</p>
+<div>
+<p>RegistrySpec provides the configuration for the container registry</p>
+</div>
+<table>
+<thead>
+<tr>
+<th>Field</th>
+<th>Description</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>
+<code>insecure</code><br/>
+<em>
+bool
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>address</code><br/>
+<em>
+string
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>secret</code><br/>
+<em>
+string
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>ca</code><br/>
+<em>
+string
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>organization</code><br/>
+<em>
+string
+</em>
+</td>
+<td>
+</td>
+</tr>
+</tbody>
+</table>
+<h3 id="camel.apache.org/v1.Repository">Repository
+</h3>
+<p>
+(<em>Appears on:</em>
+<a href="#camel.apache.org/v1.MavenBuildSpec">MavenBuildSpec</a>)
+</p>
+<div>
+<p>Repository defines a Maven repository</p>
+</div>
+<table>
+<thead>
+<tr>
+<th>Field</th>
+<th>Description</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>
+<code>id</code><br/>
+<em>
+string
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>name</code><br/>
+<em>
+string
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>url</code><br/>
+<em>
+string
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>snapshots</code><br/>
+<em>
+<a href="#camel.apache.org/v1.RepositoryPolicy">
+RepositoryPolicy
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>releases</code><br/>
+<em>
+<a href="#camel.apache.org/v1.RepositoryPolicy">
+RepositoryPolicy
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+</tbody>
+</table>
+<h3 id="camel.apache.org/v1.RepositoryPolicy">RepositoryPolicy
+</h3>
+<p>
+(<em>Appears on:</em>
+<a href="#camel.apache.org/v1.Repository">Repository</a>)
+</p>
+<div>
+<p>RepositoryPolicy defines the policy associated to a Maven repository</p>
+</div>
+<table>
+<thead>
+<tr>
+<th>Field</th>
+<th>Description</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>
+<code>enabled</code><br/>
+<em>
+bool
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>updatePolicy</code><br/>
+<em>
+string
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>checksumPolicy</code><br/>
+<em>
+string
+</em>
+</td>
+<td>
+</td>
+</tr>
+</tbody>
+</table>
+<h3 id="camel.apache.org/v1.ResourceCondition">ResourceCondition
+</h3>
+<div>
+<p>ResourceCondition is a common type for all conditions</p>
+</div>
+<h3 id="camel.apache.org/v1.ResourceSpec">ResourceSpec
+</h3>
+<p>
+(<em>Appears on:</em>
+<a href="#camel.apache.org/v1.BuilderTask">BuilderTask</a>, 
+<a href="#camel.apache.org/v1.IntegrationSpec">IntegrationSpec</a>, 
+<a href="#camel.apache.org/v1.IntegrationStatus">IntegrationStatus</a>)
+</p>
+<div>
+<p>ResourceSpec &ndash;</p>
+</div>
+<table>
+<thead>
+<tr>
+<th>Field</th>
+<th>Description</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>
+<code>DataSpec</code><br/>
+<em>
+<a href="#camel.apache.org/v1.DataSpec">
+DataSpec
+</a>
+</em>
+</td>
+<td>
+<p>
+(Members of <code>DataSpec</code> are embedded into this type.)
+</p>
+</td>
+</tr>
+<tr>
+<td>
+<code>type</code><br/>
+<em>
+<a href="#camel.apache.org/v1.ResourceType">
+ResourceType
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>mountPath</code><br/>
+<em>
+string
+</em>
+</td>
+<td>
+</td>
+</tr>
+</tbody>
+</table>
+<h3 id="camel.apache.org/v1.ResourceType">ResourceType
+(<code>string</code> alias)</h3>
+<p>
+(<em>Appears on:</em>
+<a href="#camel.apache.org/v1.ResourceSpec">ResourceSpec</a>)
+</p>
+<div>
+<p>ResourceType &ndash;</p>
+</div>
+<h3 id="camel.apache.org/v1.RuntimeProvider">RuntimeProvider
+(<code>string</code> alias)</h3>
+<p>
+(<em>Appears on:</em>
+<a href="#camel.apache.org/v1.IntegrationKitStatus">IntegrationKitStatus</a>, 
+<a href="#camel.apache.org/v1.IntegrationPlatformBuildSpec">IntegrationPlatformBuildSpec</a>, 
+<a href="#camel.apache.org/v1.IntegrationStatus">IntegrationStatus</a>, 
+<a href="#camel.apache.org/v1.RuntimeSpec">RuntimeSpec</a>)
+</p>
+<div>
+<p>RuntimeProvider &ndash;</p>
+</div>
+<h3 id="camel.apache.org/v1.RuntimeSpec">RuntimeSpec
+</h3>
+<p>
+(<em>Appears on:</em>
+<a href="#camel.apache.org/v1.BuilderTask">BuilderTask</a>, 
+<a href="#camel.apache.org/v1.CamelCatalogSpec">CamelCatalogSpec</a>)
+</p>
+<div>
+<p>RuntimeSpec &ndash;</p>
+</div>
+<table>
+<thead>
+<tr>
+<th>Field</th>
+<th>Description</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>
+<code>version</code><br/>
+<em>
+string
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>provider</code><br/>
+<em>
+<a href="#camel.apache.org/v1.RuntimeProvider">
+RuntimeProvider
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>applicationClass</code><br/>
+<em>
+string
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>dependencies</code><br/>
+<em>
+<a href="#camel.apache.org/v1.MavenArtifact">
+[]MavenArtifact
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>metadata</code><br/>
+<em>
+map[string]string
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>capabilities</code><br/>
+<em>
+<a href="#camel.apache.org/v1.Capability">
+map[string]github.com/apache/camel-k/pkg/apis/camel/v1.Capability
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+</tbody>
+</table>
+<h3 id="camel.apache.org/v1.S2iTask">S2iTask
+</h3>
+<p>
+(<em>Appears on:</em>
+<a href="#camel.apache.org/v1.Task">Task</a>)
+</p>
+<div>
+<p>S2iTask &ndash;</p>
+</div>
+<table>
+<thead>
+<tr>
+<th>Field</th>
+<th>Description</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>
+<code>BaseTask</code><br/>
+<em>
+<a href="#camel.apache.org/v1.BaseTask">
+BaseTask
+</a>
+</em>
+</td>
+<td>
+<p>
+(Members of <code>BaseTask</code> are embedded into this type.)
+</p>
+</td>
+</tr>
+<tr>
+<td>
+<code>contextDir</code><br/>
+<em>
+string
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>tag</code><br/>
+<em>
+string
+</em>
+</td>
+<td>
+</td>
+</tr>
+</tbody>
+</table>
+<h3 id="camel.apache.org/v1.SourceSpec">SourceSpec
+</h3>
+<p>
+(<em>Appears on:</em>
+<a href="#camel.apache.org/v1.BuilderTask">BuilderTask</a>, 
+<a href="#camel.apache.org/v1.IntegrationSpec">IntegrationSpec</a>, 
+<a href="#camel.apache.org/v1.IntegrationStatus">IntegrationStatus</a>, 
+<a href="#camel.apache.org/v1alpha1.KameletSpec">KameletSpec</a>)
+</p>
+<div>
+<p>SourceSpec &ndash;</p>
+</div>
+<table>
+<thead>
+<tr>
+<th>Field</th>
+<th>Description</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>
+<code>DataSpec</code><br/>
+<em>
+<a href="#camel.apache.org/v1.DataSpec">
+DataSpec
+</a>
+</em>
+</td>
+<td>
+<p>
+(Members of <code>DataSpec</code> are embedded into this type.)
+</p>
+</td>
+</tr>
+<tr>
+<td>
+<code>language</code><br/>
+<em>
+<a href="#camel.apache.org/v1.Language">
+Language
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>loader</code><br/>
+<em>
+string
+</em>
+</td>
+<td>
+<p>Loader is an optional id of the org.apache.camel.k.RoutesLoader that will
+interpret this source at runtime</p>
+</td>
+</tr>
+<tr>
+<td>
+<code>interceptors</code><br/>
+<em>
+[]string
+</em>
+</td>
+<td>
+<p>Interceptors are optional identifiers the org.apache.camel.k.RoutesLoader
+uses to pre/post process sources</p>
+</td>
+</tr>
+<tr>
+<td>
+<code>type</code><br/>
+<em>
+<a href="#camel.apache.org/v1.SourceType">
+SourceType
+</a>
+</em>
+</td>
+<td>
+<p>Type defines the kind of source described by this object</p>
+</td>
+</tr>
+<tr>
+<td>
+<code>property-names</code><br/>
+<em>
+[]string
+</em>
+</td>
+<td>
+<p>List of property names defined in the source (e.g. if type is &ldquo;template&rdquo;)</p>
+</td>
+</tr>
+</tbody>
+</table>
+<h3 id="camel.apache.org/v1.SourceType">SourceType
+(<code>string</code> alias)</h3>
+<p>
+(<em>Appears on:</em>
+<a href="#camel.apache.org/v1.SourceSpec">SourceSpec</a>)
+</p>
+<div>
+</div>
+<h3 id="camel.apache.org/v1.SpectrumTask">SpectrumTask
+</h3>
+<p>
+(<em>Appears on:</em>
+<a href="#camel.apache.org/v1.Task">Task</a>)
+</p>
+<div>
+<p>SpectrumTask &ndash;</p>
+</div>
+<table>
+<thead>
+<tr>
+<th>Field</th>
+<th>Description</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>
+<code>BaseTask</code><br/>
+<em>
+<a href="#camel.apache.org/v1.BaseTask">
+BaseTask
+</a>
+</em>
+</td>
+<td>
+<p>
+(Members of <code>BaseTask</code> are embedded into this type.)
+</p>
+</td>
+</tr>
+<tr>
+<td>
+<code>PublishTask</code><br/>
+<em>
+<a href="#camel.apache.org/v1.PublishTask">
+PublishTask
+</a>
+</em>
+</td>
+<td>
+<p>
+(Members of <code>PublishTask</code> are embedded into this type.)
+</p>
+</td>
+</tr>
+</tbody>
+</table>
+<h3 id="camel.apache.org/v1.Task">Task
+</h3>
+<p>
+(<em>Appears on:</em>
+<a href="#camel.apache.org/v1.BuildSpec">BuildSpec</a>)
+</p>
+<div>
+<p>Task &ndash;</p>
+</div>
+<table>
+<thead>
+<tr>
+<th>Field</th>
+<th>Description</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>
+<code>builder</code><br/>
+<em>
+<a href="#camel.apache.org/v1.BuilderTask">
+BuilderTask
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>buildah</code><br/>
+<em>
+<a href="#camel.apache.org/v1.BuildahTask">
+BuildahTask
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>kaniko</code><br/>
+<em>
+<a href="#camel.apache.org/v1.KanikoTask">
+KanikoTask
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>spectrum</code><br/>
+<em>
+<a href="#camel.apache.org/v1.SpectrumTask">
+SpectrumTask
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>s2i</code><br/>
+<em>
+<a href="#camel.apache.org/v1.S2iTask">
+S2iTask
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+</tbody>
+</table>
+<h3 id="camel.apache.org/v1.Template">Template
+</h3>
+<p>
+(<em>Appears on:</em>
+<a href="#camel.apache.org/v1alpha1.KameletSpec">KameletSpec</a>)
+</p>
+<div>
+<p>Template is an unstructured object representing a Kamelet template in YAML/JSON DSL</p>
+</div>
+<table>
+<thead>
+<tr>
+<th>Field</th>
+<th>Description</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>
+<code>RawMessage</code><br/>
+<em>
+<a href="#camel.apache.org/v1.RawMessage">
+RawMessage
+</a>
+</em>
+</td>
+<td>
+<p>
+(Members of <code>RawMessage</code> are embedded into this type.)
+</p>
+</td>
+</tr>
+</tbody>
+</table>
+<h3 id="camel.apache.org/v1.TraitConfiguration">TraitConfiguration
+</h3>
+<p>
+(<em>Appears on:</em>
+<a href="#camel.apache.org/v1.TraitSpec">TraitSpec</a>)
+</p>
+<div>
+</div>
+<table>
+<thead>
+<tr>
+<th>Field</th>
+<th>Description</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>
+<code>RawMessage</code><br/>
+<em>
+<a href="#camel.apache.org/v1.RawMessage">
+RawMessage
+</a>
+</em>
+</td>
+<td>
+<p>
+(Members of <code>RawMessage</code> are embedded into this type.)
+</p>
+</td>
+</tr>
+</tbody>
+</table>
+<h3 id="camel.apache.org/v1.TraitProfile">TraitProfile
+(<code>string</code> alias)</h3>
+<p>
+(<em>Appears on:</em>
+<a href="#camel.apache.org/v1.IntegrationKitSpec">IntegrationKitSpec</a>, 
+<a href="#camel.apache.org/v1.IntegrationPlatformSpec">IntegrationPlatformSpec</a>, 
+<a href="#camel.apache.org/v1.IntegrationSpec">IntegrationSpec</a>, 
+<a href="#camel.apache.org/v1.IntegrationStatus">IntegrationStatus</a>)
+</p>
+<div>
+<p>TraitProfile represents lists of traits that are enabled for the specific installation/integration</p>
+</div>
+<h3 id="camel.apache.org/v1.TraitSpec">TraitSpec
+</h3>
+<p>
+(<em>Appears on:</em>
+<a href="#camel.apache.org/v1.IntegrationKitSpec">IntegrationKitSpec</a>, 
+<a href="#camel.apache.org/v1.IntegrationPlatformSpec">IntegrationPlatformSpec</a>, 
+<a href="#camel.apache.org/v1.IntegrationSpec">IntegrationSpec</a>)
+</p>
+<div>
+<p>A TraitSpec contains the configuration of a trait</p>
+</div>
+<table>
+<thead>
+<tr>
+<th>Field</th>
+<th>Description</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>
+<code>configuration</code><br/>
+<em>
+<a href="#camel.apache.org/v1.TraitConfiguration">
+TraitConfiguration
+</a>
+</em>
+</td>
+<td>
+<p>TraitConfiguration &ndash;</p>
+</td>
+</tr>
+</tbody>
+</table>
+<h3 id="camel.apache.org/v1.ValueSource">ValueSource
+</h3>
+<p>
+(<em>Appears on:</em>
+<a href="#camel.apache.org/v1.MavenSpec">MavenSpec</a>)
+</p>
+<div>
+<p>ValueSource &ndash;</p>
+</div>
+<table>
+<thead>
+<tr>
+<th>Field</th>
+<th>Description</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>
+<code>configMapKeyRef</code><br/>
+<em>
+<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#configmapkeyselector-v1-core">
+Kubernetes core/v1.ConfigMapKeySelector
+</a>
+</em>
+</td>
+<td>
+<p>Selects a key of a ConfigMap.</p>
+</td>
+</tr>
+<tr>
+<td>
+<code>secretKeyRef</code><br/>
+<em>
+<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#secretkeyselector-v1-core">
+Kubernetes core/v1.SecretKeySelector
+</a>
+</em>
+</td>
+<td>
+<p>Selects a key of a secret.</p>
+</td>
+</tr>
+</tbody>
+</table>
+<h2 id="camel.apache.org/v1alpha1">camel.apache.org/v1alpha1</h2>
+<div>
+<p>Package v1alpha1 contains API Schema definitions for the camel v1alpha1 API group</p>
+</div>
+Resource Types:
+<ul><li>
+<a href="#camel.apache.org/v1alpha1.Kamelet">Kamelet</a>
+</li><li>
+<a href="#camel.apache.org/v1alpha1.KameletBinding">KameletBinding</a>
+</li></ul>
+<h3 id="camel.apache.org/v1alpha1.Kamelet">Kamelet
+</h3>
+<div>
+<p>Kamelet is the Schema for the kamelets API</p>
+</div>
+<table>
+<thead>
+<tr>
+<th>Field</th>
+<th>Description</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>
+<code>apiVersion</code></br>
+string</td>
+<td>
+<code>
+camel.apache.org/v1alpha1
+</code>
+</td>
+</tr>
+<tr>
+<td>
+<code>kind</code></br>
+string
+</td>
+<td><code>Kamelet</code></td>
+</tr>
+<tr>
+<td>
+<code>metadata</code><br/>
+<em>
+<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#objectmeta-v1-meta">
+Kubernetes meta/v1.ObjectMeta
+</a>
+</em>
+</td>
+<td>
+Refer to the Kubernetes API documentation for the fields of the
+<code>metadata</code> field.
+</td>
+</tr>
+<tr>
+<td>
+<code>spec</code><br/>
+<em>
+<a href="#camel.apache.org/v1alpha1.KameletSpec">
+KameletSpec
+</a>
+</em>
+</td>
+<td>
+<br/>
+<br/>
+<table>
+<tr>
+<td>
+<code>definition</code><br/>
+<em>
+<a href="#camel.apache.org/v1alpha1.JSONSchemaProps">
+JSONSchemaProps
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>sources</code><br/>
+<em>
+<a href="#camel.apache.org/v1.SourceSpec">
+[]SourceSpec
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>template</code><br/>
+<em>
+<a href="#camel.apache.org/v1.Template">
+Template
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>flow</code><br/>
+<em>
+<a href="#camel.apache.org/v1.Flow">
+Flow
+</a>
+</em>
+</td>
+<td>
+<p>Deprecated: use template</p>
+</td>
+</tr>
+<tr>
+<td>
+<code>authorization</code><br/>
+<em>
+<a href="#camel.apache.org/v1alpha1.AuthorizationSpec">
+AuthorizationSpec
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>types</code><br/>
+<em>
+<a href="#camel.apache.org/v1alpha1.EventTypeSpec">
+map[github.com/apache/camel-k/pkg/apis/camel/v1alpha1.EventSlot]github.com/apache/camel-k/pkg/apis/camel/v1alpha1.EventTypeSpec
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>dependencies</code><br/>
+<em>
+[]string
+</em>
+</td>
+<td>
+</td>
+</tr>
+</table>
+</td>
+</tr>
+<tr>
+<td>
+<code>status</code><br/>
+<em>
+<a href="#camel.apache.org/v1alpha1.KameletStatus">
+KameletStatus
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+</tbody>
+</table>
+<h3 id="camel.apache.org/v1alpha1.KameletBinding">KameletBinding
+</h3>
+<div>
+<p>KameletBinding is the Schema for the kamelets binding API</p>
+</div>
+<table>
+<thead>
+<tr>
+<th>Field</th>
+<th>Description</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>
+<code>apiVersion</code></br>
+string</td>
+<td>
+<code>
+camel.apache.org/v1alpha1
+</code>
+</td>
+</tr>
+<tr>
+<td>
+<code>kind</code></br>
+string
+</td>
+<td><code>KameletBinding</code></td>
+</tr>
+<tr>
+<td>
+<code>metadata</code><br/>
+<em>
+<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#objectmeta-v1-meta">
+Kubernetes meta/v1.ObjectMeta
+</a>
+</em>
+</td>
+<td>
+Refer to the Kubernetes API documentation for the fields of the
+<code>metadata</code> field.
+</td>
+</tr>
+<tr>
+<td>
+<code>spec</code><br/>
+<em>
+<a href="#camel.apache.org/v1alpha1.KameletBindingSpec">
+KameletBindingSpec
+</a>
+</em>
+</td>
+<td>
+<br/>
+<br/>
+<table>
+<tr>
+<td>
+<code>integration</code><br/>
+<em>
+<a href="#camel.apache.org/v1.IntegrationSpec">
+IntegrationSpec
+</a>
+</em>
+</td>
+<td>
+<p>Integration is an optional integration used to specify custom parameters</p>
+</td>
+</tr>
+<tr>
+<td>
+<code>source</code><br/>
+<em>
+<a href="#camel.apache.org/v1alpha1.Endpoint">
+Endpoint
+</a>
+</em>
+</td>
+<td>
+<p>Source is the starting point of the integration defined by this binding</p>
+</td>
+</tr>
+<tr>
+<td>
+<code>sink</code><br/>
+<em>
+<a href="#camel.apache.org/v1alpha1.Endpoint">
+Endpoint
+</a>
+</em>
+</td>
+<td>
+<p>Sink is the destination of the integration defined by this binding</p>
+</td>
+</tr>
+<tr>
+<td>
+<code>errorHandler</code><br/>
+<em>
+<a href="#camel.apache.org/v1alpha1.ErrorHandlerSpec">
+ErrorHandlerSpec
+</a>
+</em>
+</td>
+<td>
+<p>ErrorHandler is an optional handler called upon an error occuring in the integration</p>
+</td>
+</tr>
+<tr>
+<td>
+<code>steps</code><br/>
+<em>
+<a href="#camel.apache.org/v1alpha1.Endpoint">
+[]Endpoint
+</a>
+</em>
+</td>
+<td>
+<p>Steps contains an optional list of intermediate steps that are executed between the Source and the Sink</p>
+</td>
+</tr>
+<tr>
+<td>
+<code>replicas</code><br/>
+<em>
+int32
+</em>
+</td>
+<td>
+<p>Replicas is the number of desired replicas for the binding</p>
+</td>
+</tr>
+</table>
+</td>
+</tr>
+<tr>
+<td>
+<code>status</code><br/>
+<em>
+<a href="#camel.apache.org/v1alpha1.KameletBindingStatus">
+KameletBindingStatus
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+</tbody>
+</table>
+<h3 id="camel.apache.org/v1alpha1.AuthorizationSpec">AuthorizationSpec
+</h3>
+<p>
+(<em>Appears on:</em>
+<a href="#camel.apache.org/v1alpha1.KameletSpec">KameletSpec</a>)
+</p>
+<div>
+<p>AuthorizationSpec is TODO (oauth information)</p>
+</div>
+<h3 id="camel.apache.org/v1alpha1.BeanProperties">BeanProperties
+</h3>
+<div>
+<p>BeanProperties represent an unstructured object properties to be set on a bean</p>
+</div>
+<table>
+<thead>
+<tr>
+<th>Field</th>
+<th>Description</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>
+<code>RawMessage</code><br/>
+<em>
+<a href="#camel.apache.org/v1.RawMessage">
+RawMessage
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+</tbody>
+</table>
+<h3 id="camel.apache.org/v1alpha1.Endpoint">Endpoint
+</h3>
+<p>
+(<em>Appears on:</em>
+<a href="#camel.apache.org/v1alpha1.ErrorHandlerSink">ErrorHandlerSink</a>, 
+<a href="#camel.apache.org/v1alpha1.KameletBindingSpec">KameletBindingSpec</a>)
+</p>
+<div>
+<p>Endpoint represents a source/sink external entity</p>
+</div>
+<table>
+<thead>
+<tr>
+<th>Field</th>
+<th>Description</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>
+<code>ref</code><br/>
+<em>
+<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#objectreference-v1-core">
+Kubernetes core/v1.ObjectReference
+</a>
+</em>
+</td>
+<td>
+<p>Ref can be used to declare a Kubernetes resource as source/sink endpoint</p>
+</td>
+</tr>
+<tr>
+<td>
+<code>uri</code><br/>
+<em>
+string
+</em>
+</td>
+<td>
+<p>URI can alternatively be used to specify the (Camel) endpoint explicitly</p>
+</td>
+</tr>
+<tr>
+<td>
+<code>properties</code><br/>
+<em>
+<a href="#camel.apache.org/v1alpha1.EndpointProperties">
+EndpointProperties
+</a>
+</em>
+</td>
+<td>
+<p>Properties are a key value representation of endpoint properties</p>
+</td>
+</tr>
+<tr>
+<td>
+<code>types</code><br/>
+<em>
+<a href="#camel.apache.org/v1alpha1.EventTypeSpec">
+map[github.com/apache/camel-k/pkg/apis/camel/v1alpha1.EventSlot]github.com/apache/camel-k/pkg/apis/camel/v1alpha1.EventTypeSpec
+</a>
+</em>
+</td>
+<td>
+<p>Types defines the schema of the data produced/consumed by the endpoint</p>
+</td>
+</tr>
+</tbody>
+</table>
+<h3 id="camel.apache.org/v1alpha1.EndpointProperties">EndpointProperties
+</h3>
+<p>
+(<em>Appears on:</em>
+<a href="#camel.apache.org/v1alpha1.Endpoint">Endpoint</a>)
+</p>
+<div>
+<p>EndpointProperties is a key/value struct represented as JSON raw to allow numeric/boolean values</p>
+</div>
+<table>
+<thead>
+<tr>
+<th>Field</th>
+<th>Description</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>
+<code>RawMessage</code><br/>
+<em>
+<a href="#camel.apache.org/v1.RawMessage">
+RawMessage
+</a>
+</em>
+</td>
+<td>
+<p>
+(Members of <code>RawMessage</code> are embedded into this type.)
+</p>
+</td>
+</tr>
+</tbody>
+</table>
+<h3 id="camel.apache.org/v1alpha1.EndpointType">EndpointType
+(<code>string</code> alias)</h3>
+<div>
+</div>
+<h3 id="camel.apache.org/v1alpha1.ErrorHandler">ErrorHandler
+</h3>
+<div>
+<p>ErrorHandler is a generic interface that represent any type of error handler specification</p>
+</div>
+<h3 id="camel.apache.org/v1alpha1.ErrorHandlerLog">ErrorHandlerLog
+</h3>
+<p>
+(<em>Appears on:</em>
+<a href="#camel.apache.org/v1alpha1.ErrorHandlerSink">ErrorHandlerSink</a>)
+</p>
+<div>
+<p>ErrorHandlerLog represent a default (log) error handler type</p>
+</div>
+<table>
+<thead>
+<tr>
+<th>Field</th>
+<th>Description</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>
+<code>ErrorHandlerNone</code><br/>
+<em>
+<a href="#camel.apache.org/v1alpha1.ErrorHandlerNone">
+ErrorHandlerNone
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>parameters</code><br/>
+<em>
+<a href="#camel.apache.org/v1alpha1.ErrorHandlerParameters">
+ErrorHandlerParameters
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+</tbody>
+</table>
+<h3 id="camel.apache.org/v1alpha1.ErrorHandlerNone">ErrorHandlerNone
+</h3>
+<p>
+(<em>Appears on:</em>
+<a href="#camel.apache.org/v1alpha1.ErrorHandlerLog">ErrorHandlerLog</a>)
+</p>
+<div>
+<p>ErrorHandlerNone &ndash;</p>
+</div>
+<table>
+<thead>
+<tr>
+<th>Field</th>
+<th>Description</th>
+</tr>
+</thead>
+<tbody>
+</tbody>
+</table>
+<h3 id="camel.apache.org/v1alpha1.ErrorHandlerParameters">ErrorHandlerParameters
+</h3>
+<p>
+(<em>Appears on:</em>
+<a href="#camel.apache.org/v1alpha1.ErrorHandlerLog">ErrorHandlerLog</a>)
+</p>
+<div>
+<p>ErrorHandlerParameters represent an unstructured object for error handler parameters</p>
+</div>
+<table>
+<thead>
+<tr>
+<th>Field</th>
+<th>Description</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>
+<code>RawMessage</code><br/>
+<em>
+<a href="#camel.apache.org/v1.RawMessage">
+RawMessage
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+</tbody>
+</table>
+<h3 id="camel.apache.org/v1alpha1.ErrorHandlerSink">ErrorHandlerSink
+</h3>
+<div>
+<p>ErrorHandlerSink represents a sink error handler type which behave like a dead letter channel</p>
+</div>
+<table>
+<thead>
+<tr>
+<th>Field</th>
+<th>Description</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>
+<code>ErrorHandlerLog</code><br/>
+<em>
+<a href="#camel.apache.org/v1alpha1.ErrorHandlerLog">
+ErrorHandlerLog
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>endpoint</code><br/>
+<em>
+<a href="#camel.apache.org/v1alpha1.Endpoint">
+Endpoint
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+</tbody>
+</table>
+<h3 id="camel.apache.org/v1alpha1.ErrorHandlerSpec">ErrorHandlerSpec
+</h3>
+<p>
+(<em>Appears on:</em>
+<a href="#camel.apache.org/v1alpha1.KameletBindingSpec">KameletBindingSpec</a>)
+</p>
+<div>
+<p>ErrorHandlerSpec represents an unstructured object for an error handler</p>
+</div>
+<table>
+<thead>
+<tr>
+<th>Field</th>
+<th>Description</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>
+<code>RawMessage</code><br/>
+<em>
+<a href="#camel.apache.org/v1.RawMessage">
+RawMessage
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+</tbody>
+</table>
+<h3 id="camel.apache.org/v1alpha1.ErrorHandlerType">ErrorHandlerType
+(<code>string</code> alias)</h3>
+<div>
+<p>ErrorHandlerType &ndash;</p>
+</div>
+<h3 id="camel.apache.org/v1alpha1.EventSlot">EventSlot
+(<code>string</code> alias)</h3>
+<div>
+</div>
+<h3 id="camel.apache.org/v1alpha1.EventTypeSpec">EventTypeSpec
+</h3>
+<p>
+(<em>Appears on:</em>
+<a href="#camel.apache.org/v1alpha1.Endpoint">Endpoint</a>, 
+<a href="#camel.apache.org/v1alpha1.KameletSpec">KameletSpec</a>)
+</p>
+<div>
+</div>
+<table>
+<thead>
+<tr>
+<th>Field</th>
+<th>Description</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>
+<code>mediaType</code><br/>
+<em>
+string
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>schema</code><br/>
+<em>
+<a href="#camel.apache.org/v1alpha1.JSONSchemaProps">
+JSONSchemaProps
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+</tbody>
+</table>
+<h3 id="camel.apache.org/v1alpha1.ExternalDocumentation">ExternalDocumentation
+</h3>
+<p>
+(<em>Appears on:</em>
+<a href="#camel.apache.org/v1alpha1.JSONSchemaProps">JSONSchemaProps</a>)
+</p>
+<div>
+<p>ExternalDocumentation allows referencing an external resource for extended documentation.</p>
+</div>
+<table>
+<thead>
+<tr>
+<th>Field</th>
+<th>Description</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>
+<code>description</code><br/>
+<em>
+string
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>url</code><br/>
+<em>
+string
+</em>
+</td>
+<td>
+</td>
+</tr>
+</tbody>
+</table>
+<h3 id="camel.apache.org/v1alpha1.JSON">JSON
+</h3>
+<p>
+(<em>Appears on:</em>
+<a href="#camel.apache.org/v1alpha1.JSONSchemaProp">JSONSchemaProp</a>, 
+<a href="#camel.apache.org/v1alpha1.JSONSchemaProps">JSONSchemaProps</a>)
+</p>
+<div>
+<p>JSON represents any valid JSON value.
+These types are supported: bool, int64, float64, string, []interface{}, map[string]interface{} and nil.</p>
+</div>
+<table>
+<thead>
+<tr>
+<th>Field</th>
+<th>Description</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>
+<code>RawMessage</code><br/>
+<em>
+<a href="#camel.apache.org/v1alpha1.RawMessage">
+RawMessage
+</a>
+</em>
+</td>
+<td>
+<p>
+(Members of <code>RawMessage</code> are embedded into this type.)
+</p>
+</td>
+</tr>
+</tbody>
+</table>
+<h3 id="camel.apache.org/v1alpha1.JSONSchemaProp">JSONSchemaProp
+</h3>
+<p>
+(<em>Appears on:</em>
+<a href="#camel.apache.org/v1alpha1.JSONSchemaProps">JSONSchemaProps</a>)
+</p>
+<div>
+</div>
+<table>
+<thead>
+<tr>
+<th>Field</th>
+<th>Description</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>
+<code>id</code><br/>
+<em>
+string
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>description</code><br/>
+<em>
+string
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>type</code><br/>
+<em>
+string
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>format</code><br/>
+<em>
+string
+</em>
+</td>
+<td>
+<p>format is an OpenAPI v3 format string. Unknown formats are ignored. The following formats are validated:</p>
+<ul>
+<li>bsonobjectid: a bson object ID, i.e. a 24 characters hex string</li>
+<li>uri: an URI as parsed by Golang net/url.ParseRequestURI</li>
+<li>email: an email address as parsed by Golang net/mail.ParseAddress</li>
+<li>hostname: a valid representation for an Internet host name, as defined by RFC 1034, section 3.1 [RFC1034].</li>
+<li>ipv4: an IPv4 IP as parsed by Golang net.ParseIP</li>
+<li>ipv6: an IPv6 IP as parsed by Golang net.ParseIP</li>
+<li>cidr: a CIDR as parsed by Golang net.ParseCIDR</li>
+<li>mac: a MAC address as parsed by Golang net.ParseMAC</li>
+<li>uuid: an UUID that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{12}$</li>
+<li>uuid3: an UUID3 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?3[0-9a-f]{3}-?[0-9a-f]{4}-?[0-9a-f]{12}$</li>
+<li>uuid4: an UUID4 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?4[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$</li>
+<li>uuid5: an UUID5 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?5[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$</li>
+<li>isbn: an ISBN10 or ISBN13 number string like &ldquo;0321751043&rdquo; or &ldquo;978-0321751041&rdquo;</li>
+<li>isbn10: an ISBN10 number string like &ldquo;0321751043&rdquo;</li>
+<li>isbn13: an ISBN13 number string like &ldquo;978-0321751041&rdquo;</li>
+<li>creditcard: a credit card number defined by the regex ^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\d{3})\d{11})$ with any non digit characters mixed in</li>
+<li>ssn: a U.S. social security number following the regex ^\d{3}[- ]?\d{2}[- ]?\d{4}$</li>
+<li>hexcolor: an hexadecimal color code like &ldquo;#FFFFFF: following the regex ^#?([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$</li>
+<li>rgbcolor: an RGB color code like rgb like &ldquo;rgb(255,255,2559&rdquo;</li>
+<li>byte: base64 encoded binary data</li>
+<li>password: any kind of string</li>
+<li>date: a date string like &ldquo;2006-01-02&rdquo; as defined by full-date in RFC3339</li>
+<li>duration: a duration string like &ldquo;22 ns&rdquo; as parsed by Golang time.ParseDuration or compatible with Scala duration format</li>
+<li>datetime: a date time string like &ldquo;2014-12-15T19:30:20.000Z&rdquo; as defined by date-time in RFC3339.</li>
+</ul>
+</td>
+</tr>
+<tr>
+<td>
+<code>title</code><br/>
+<em>
+string
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>default</code><br/>
+<em>
+<a href="#camel.apache.org/v1alpha1.JSON">
+JSON
+</a>
+</em>
+</td>
+<td>
+<p>default is a default value for undefined object fields.</p>
+</td>
+</tr>
+<tr>
+<td>
+<code>maximum</code><br/>
+<em>
+encoding/json.Number
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>exclusiveMaximum</code><br/>
+<em>
+bool
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>minimum</code><br/>
+<em>
+encoding/json.Number
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>exclusiveMinimum</code><br/>
+<em>
+bool
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>maxLength</code><br/>
+<em>
+int64
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>minLength</code><br/>
+<em>
+int64
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>pattern</code><br/>
+<em>
+string
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>maxItems</code><br/>
+<em>
+int64
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>minItems</code><br/>
+<em>
+int64
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>uniqueItems</code><br/>
+<em>
+bool
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>maxProperties</code><br/>
+<em>
+int64
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>minProperties</code><br/>
+<em>
+int64
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>multipleOf</code><br/>
+<em>
+encoding/json.Number
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>enum</code><br/>
+<em>
+<a href="#camel.apache.org/v1alpha1.JSON">
+[]JSON
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>example</code><br/>
+<em>
+<a href="#camel.apache.org/v1alpha1.JSON">
+JSON
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>nullable</code><br/>
+<em>
+bool
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>x-descriptors</code><br/>
+<em>
+[]string
+</em>
+</td>
+<td>
+<p>XDescriptors is a list of extended properties that trigger a custom behavior in external systems</p>
+</td>
+</tr>
+</tbody>
+</table>
+<h3 id="camel.apache.org/v1alpha1.JSONSchemaProps">JSONSchemaProps
+</h3>
+<p>
+(<em>Appears on:</em>
+<a href="#camel.apache.org/v1alpha1.EventTypeSpec">EventTypeSpec</a>, 
+<a href="#camel.apache.org/v1alpha1.KameletSpec">KameletSpec</a>)
+</p>
+<div>
+<p>JSONSchemaProps is a JSON-Schema following Specification Draft 4 (<a href="http://json-schema.org/">http://json-schema.org/</a>).</p>
+</div>
+<table>
+<thead>
+<tr>
+<th>Field</th>
+<th>Description</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>
+<code>id</code><br/>
+<em>
+string
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>description</code><br/>
+<em>
+string
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>title</code><br/>
+<em>
+string
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>properties</code><br/>
+<em>
+<a href="#camel.apache.org/v1alpha1.JSONSchemaProp">
+map[string]github.com/apache/camel-k/pkg/apis/camel/v1alpha1.JSONSchemaProp
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>required</code><br/>
+<em>
+[]string
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>example</code><br/>
+<em>
+<a href="#camel.apache.org/v1alpha1.JSON">
+JSON
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>externalDocs</code><br/>
+<em>
+<a href="#camel.apache.org/v1alpha1.ExternalDocumentation">
+ExternalDocumentation
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>$schema</code><br/>
+<em>
+<a href="#camel.apache.org/v1alpha1.JSONSchemaURL">
+JSONSchemaURL
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>type</code><br/>
+<em>
+string
+</em>
+</td>
+<td>
+</td>
+</tr>
+</tbody>
+</table>
+<h3 id="camel.apache.org/v1alpha1.JSONSchemaURL">JSONSchemaURL
+(<code>string</code> alias)</h3>
+<p>
+(<em>Appears on:</em>
+<a href="#camel.apache.org/v1alpha1.JSONSchemaProps">JSONSchemaProps</a>)
+</p>
+<div>
+<p>JSONSchemaURL represents a schema url.</p>
+</div>
+<h3 id="camel.apache.org/v1alpha1.KameletBindingCondition">KameletBindingCondition
+</h3>
+<p>
+(<em>Appears on:</em>
+<a href="#camel.apache.org/v1alpha1.KameletBindingStatus">KameletBindingStatus</a>)
+</p>
+<div>
+<p>KameletBindingCondition describes the state of a resource at a certain point.</p>
+</div>
+<table>
+<thead>
+<tr>
+<th>Field</th>
+<th>Description</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>
+<code>type</code><br/>
+<em>
+<a href="#camel.apache.org/v1alpha1.KameletBindingConditionType">
+KameletBindingConditionType
+</a>
+</em>
+</td>
+<td>
+<p>Type of kameletBinding condition.</p>
+</td>
+</tr>
+<tr>
+<td>
+<code>status</code><br/>
+<em>
+<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#conditionstatus-v1-core">
+Kubernetes core/v1.ConditionStatus
+</a>
+</em>
+</td>
+<td>
+<p>Status of the condition, one of True, False, Unknown.</p>
+</td>
+</tr>
+<tr>
+<td>
+<code>lastUpdateTime</code><br/>
+<em>
+<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#time-v1-meta">
+Kubernetes meta/v1.Time
+</a>
+</em>
+</td>
+<td>
+<p>The last time this condition was updated.</p>
+</td>
+</tr>
+<tr>
+<td>
+<code>lastTransitionTime</code><br/>
+<em>
+<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#time-v1-meta">
+Kubernetes meta/v1.Time
+</a>
+</em>
+</td>
+<td>
+<p>Last time the condition transitioned from one status to another.</p>
+</td>
+</tr>
+<tr>
+<td>
+<code>reason</code><br/>
+<em>
+string
+</em>
+</td>
+<td>
+<p>The reason for the condition&rsquo;s last transition.</p>
+</td>
+</tr>
+<tr>
+<td>
+<code>message</code><br/>
+<em>
+string
+</em>
+</td>
+<td>
+<p>A human readable message indicating details about the transition.</p>
+</td>
+</tr>
+</tbody>
+</table>
+<h3 id="camel.apache.org/v1alpha1.KameletBindingConditionType">KameletBindingConditionType
+(<code>string</code> alias)</h3>
+<p>
+(<em>Appears on:</em>
+<a href="#camel.apache.org/v1alpha1.KameletBindingCondition">KameletBindingCondition</a>)
+</p>
+<div>
+</div>
+<h3 id="camel.apache.org/v1alpha1.KameletBindingPhase">KameletBindingPhase
+(<code>string</code> alias)</h3>
+<p>
+(<em>Appears on:</em>
+<a href="#camel.apache.org/v1alpha1.KameletBindingStatus">KameletBindingStatus</a>)
+</p>
+<div>
+</div>
+<h3 id="camel.apache.org/v1alpha1.KameletBindingSpec">KameletBindingSpec
+</h3>
+<p>
+(<em>Appears on:</em>
+<a href="#camel.apache.org/v1alpha1.KameletBinding">KameletBinding</a>)
+</p>
+<div>
+<p>KameletBindingSpec &ndash;</p>
+</div>
+<table>
+<thead>
+<tr>
+<th>Field</th>
+<th>Description</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>
+<code>integration</code><br/>
+<em>
+<a href="#camel.apache.org/v1.IntegrationSpec">
+IntegrationSpec
+</a>
+</em>
+</td>
+<td>
+<p>Integration is an optional integration used to specify custom parameters</p>
+</td>
+</tr>
+<tr>
+<td>
+<code>source</code><br/>
+<em>
+<a href="#camel.apache.org/v1alpha1.Endpoint">
+Endpoint
+</a>
+</em>
+</td>
+<td>
+<p>Source is the starting point of the integration defined by this binding</p>
+</td>
+</tr>
+<tr>
+<td>
+<code>sink</code><br/>
+<em>
+<a href="#camel.apache.org/v1alpha1.Endpoint">
+Endpoint
+</a>
+</em>
+</td>
+<td>
+<p>Sink is the destination of the integration defined by this binding</p>
+</td>
+</tr>
+<tr>
+<td>
+<code>errorHandler</code><br/>
+<em>
+<a href="#camel.apache.org/v1alpha1.ErrorHandlerSpec">
+ErrorHandlerSpec
+</a>
+</em>
+</td>
+<td>
+<p>ErrorHandler is an optional handler called upon an error occuring in the integration</p>
+</td>
+</tr>
+<tr>
+<td>
+<code>steps</code><br/>
+<em>
+<a href="#camel.apache.org/v1alpha1.Endpoint">
+[]Endpoint
+</a>
+</em>
+</td>
+<td>
+<p>Steps contains an optional list of intermediate steps that are executed between the Source and the Sink</p>
+</td>
+</tr>
+<tr>
+<td>
+<code>replicas</code><br/>
+<em>
+int32
+</em>
+</td>
+<td>
+<p>Replicas is the number of desired replicas for the binding</p>
+</td>
+</tr>
+</tbody>
+</table>
+<h3 id="camel.apache.org/v1alpha1.KameletBindingStatus">KameletBindingStatus
+</h3>
+<p>
+(<em>Appears on:</em>
+<a href="#camel.apache.org/v1alpha1.KameletBinding">KameletBinding</a>)
+</p>
+<div>
+<p>KameletBindingStatus &ndash;</p>
+</div>
+<table>
+<thead>
+<tr>
+<th>Field</th>
+<th>Description</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>
+<code>phase</code><br/>
+<em>
+<a href="#camel.apache.org/v1alpha1.KameletBindingPhase">
+KameletBindingPhase
+</a>
+</em>
+</td>
+<td>
+<p>Phase &ndash;</p>
+</td>
+</tr>
+<tr>
+<td>
+<code>conditions</code><br/>
+<em>
+<a href="#camel.apache.org/v1alpha1.KameletBindingCondition">
+[]KameletBindingCondition
+</a>
+</em>
+</td>
+<td>
+<p>Conditions &ndash;</p>
+</td>
+</tr>
+<tr>
+<td>
+<code>replicas</code><br/>
+<em>
+int32
+</em>
+</td>
+<td>
+<p>Replicas is the number of actual replicas of the binding</p>
+</td>
+</tr>
+<tr>
+<td>
+<code>selector</code><br/>
+<em>
+string
+</em>
+</td>
+<td>
+<p>Selector allows to identify pods belonging to the binding</p>
+</td>
+</tr>
+</tbody>
+</table>
+<h3 id="camel.apache.org/v1alpha1.KameletCondition">KameletCondition
+</h3>
+<p>
+(<em>Appears on:</em>
+<a href="#camel.apache.org/v1alpha1.KameletStatus">KameletStatus</a>)
+</p>
+<div>
+<p>KameletCondition describes the state of a resource at a certain point.</p>
+</div>
+<table>
+<thead>
+<tr>
+<th>Field</th>
+<th>Description</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>
+<code>type</code><br/>
+<em>
+<a href="#camel.apache.org/v1alpha1.KameletConditionType">
+KameletConditionType
+</a>
+</em>
+</td>
+<td>
+<p>Type of kamelet condition.</p>
+</td>
+</tr>
+<tr>
+<td>
+<code>status</code><br/>
+<em>
+<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#conditionstatus-v1-core">
+Kubernetes core/v1.ConditionStatus
+</a>
+</em>
+</td>
+<td>
+<p>Status of the condition, one of True, False, Unknown.</p>
+</td>
+</tr>
+<tr>
+<td>
+<code>lastUpdateTime</code><br/>
+<em>
+<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#time-v1-meta">
+Kubernetes meta/v1.Time
+</a>
+</em>
+</td>
+<td>
+<p>The last time this condition was updated.</p>
+</td>
+</tr>
+<tr>
+<td>
+<code>lastTransitionTime</code><br/>
+<em>
+<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#time-v1-meta">
+Kubernetes meta/v1.Time
+</a>
+</em>
+</td>
+<td>
+<p>Last time the condition transitioned from one status to another.</p>
+</td>
+</tr>
+<tr>
+<td>
+<code>reason</code><br/>
+<em>
+string
+</em>
+</td>
+<td>
+<p>The reason for the condition&rsquo;s last transition.</p>
+</td>
+</tr>
+<tr>
+<td>
+<code>message</code><br/>
+<em>
+string
+</em>
+</td>
+<td>
+<p>A human-readable message indicating details about the transition.</p>
+</td>
+</tr>
+</tbody>
+</table>
+<h3 id="camel.apache.org/v1alpha1.KameletConditionType">KameletConditionType
+(<code>string</code> alias)</h3>
+<p>
+(<em>Appears on:</em>
+<a href="#camel.apache.org/v1alpha1.KameletCondition">KameletCondition</a>)
+</p>
+<div>
+</div>
+<h3 id="camel.apache.org/v1alpha1.KameletPhase">KameletPhase
+(<code>string</code> alias)</h3>
+<p>
+(<em>Appears on:</em>
+<a href="#camel.apache.org/v1alpha1.KameletStatus">KameletStatus</a>)
+</p>
+<div>
+</div>
+<h3 id="camel.apache.org/v1alpha1.KameletProperty">KameletProperty
+</h3>
+<p>
+(<em>Appears on:</em>
+<a href="#camel.apache.org/v1alpha1.KameletStatus">KameletStatus</a>)
+</p>
+<div>
+</div>
+<table>
+<thead>
+<tr>
+<th>Field</th>
+<th>Description</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>
+<code>name</code><br/>
+<em>
+string
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>default</code><br/>
+<em>
+string
+</em>
+</td>
+<td>
+</td>
+</tr>
+</tbody>
+</table>
+<h3 id="camel.apache.org/v1alpha1.KameletSpec">KameletSpec
+</h3>
+<p>
+(<em>Appears on:</em>
+<a href="#camel.apache.org/v1alpha1.Kamelet">Kamelet</a>)
+</p>
+<div>
+<p>KameletSpec defines the desired state of Kamelet</p>
+</div>
+<table>
+<thead>
+<tr>
+<th>Field</th>
+<th>Description</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>
+<code>definition</code><br/>
+<em>
+<a href="#camel.apache.org/v1alpha1.JSONSchemaProps">
+JSONSchemaProps
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>sources</code><br/>
+<em>
+<a href="#camel.apache.org/v1.SourceSpec">
+[]SourceSpec
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>template</code><br/>
+<em>
+<a href="#camel.apache.org/v1.Template">
+Template
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>flow</code><br/>
+<em>
+<a href="#camel.apache.org/v1.Flow">
+Flow
+</a>
+</em>
+</td>
+<td>
+<p>Deprecated: use template</p>
+</td>
+</tr>
+<tr>
+<td>
+<code>authorization</code><br/>
+<em>
+<a href="#camel.apache.org/v1alpha1.AuthorizationSpec">
+AuthorizationSpec
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>types</code><br/>
+<em>
+<a href="#camel.apache.org/v1alpha1.EventTypeSpec">
+map[github.com/apache/camel-k/pkg/apis/camel/v1alpha1.EventSlot]github.com/apache/camel-k/pkg/apis/camel/v1alpha1.EventTypeSpec
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>dependencies</code><br/>
+<em>
+[]string
+</em>
+</td>
+<td>
+</td>
+</tr>
+</tbody>
+</table>
+<h3 id="camel.apache.org/v1alpha1.KameletStatus">KameletStatus
+</h3>
+<p>
+(<em>Appears on:</em>
+<a href="#camel.apache.org/v1alpha1.Kamelet">Kamelet</a>)
+</p>
+<div>
+<p>KameletStatus defines the observed state of Kamelet</p>
+</div>
+<table>
+<thead>
+<tr>
+<th>Field</th>
+<th>Description</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>
+<code>phase</code><br/>
+<em>
+<a href="#camel.apache.org/v1alpha1.KameletPhase">
+KameletPhase
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>conditions</code><br/>
+<em>
+<a href="#camel.apache.org/v1alpha1.KameletCondition">
+[]KameletCondition
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<code>properties</code><br/>
+<em>
+<a href="#camel.apache.org/v1alpha1.KameletProperty">
+[]KameletProperty
+</a>
+</em>
+</td>
+<td>
+</td>
+</tr>
+</tbody>
+</table>
+<h3 id="camel.apache.org/v1alpha1.RawMessage">RawMessage
+(<code>[]byte</code> alias)</h3>
+<p>
+(<em>Appears on:</em>
+<a href="#camel.apache.org/v1alpha1.JSON">JSON</a>)
+</p>
+<div>
+<p>RawMessage is a raw encoded JSON value.
+It implements Marshaler and Unmarshaler and can
+be used to delay JSON decoding or precompute a JSON encoding.</p>
+</div>
diff --git a/helm/camel-k/crds/crd-integration.yaml b/helm/camel-k/crds/crd-integration.yaml
index e9f141b..0fb5b30 100644
--- a/helm/camel-k/crds/crd-integration.yaml
+++ b/helm/camel-k/crds/crd-integration.yaml
@@ -164,9 +164,6 @@ spec:
                     description: 'UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids'
                     type: string
                 type: object
-              kit:
-                description: 'Deprecated: use the IntegrationKit field'
-                type: string
               profile:
                 description: TraitProfile represents lists of traits that are enabled
                   for the specific installation/integration
diff --git a/helm/camel-k/crds/crd-kamelet-binding.yaml b/helm/camel-k/crds/crd-kamelet-binding.yaml
index cb61dec..944a254 100644
--- a/helm/camel-k/crds/crd-kamelet-binding.yaml
+++ b/helm/camel-k/crds/crd-kamelet-binding.yaml
@@ -170,9 +170,6 @@ spec:
                         description: 'UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids'
                         type: string
                     type: object
-                  kit:
-                    description: 'Deprecated: use the IntegrationKit field'
-                    type: string
                   profile:
                     description: TraitProfile represents lists of traits that are
                       enabled for the specific installation/integration
diff --git a/pkg/apis/camel/v1/integration_types.go b/pkg/apis/camel/v1/integration_types.go
index e2ae0e9..3b26183 100644
--- a/pkg/apis/camel/v1/integration_types.go
+++ b/pkg/apis/camel/v1/integration_types.go
@@ -33,9 +33,7 @@ type IntegrationSpec struct {
 	// Deprecated:
 	// Use container trait (container.resources) to manage resources
 	// Use openapi trait (openapi.configmaps) to manage OpenAPIs specifications
-	Resources []ResourceSpec `json:"resources,omitempty"`
-	// Deprecated: use the IntegrationKit field
-	Kit            string                  `json:"kit,omitempty"`
+	Resources      []ResourceSpec          `json:"resources,omitempty"`
 	IntegrationKit *corev1.ObjectReference `json:"integrationKit,omitempty"`
 	Dependencies   []string                `json:"dependencies,omitempty"`
 	Profile        TraitProfile            `json:"profile,omitempty"`
diff --git a/pkg/controller/integration/initialize.go b/pkg/controller/integration/initialize.go
index e05e614..8feddee 100644
--- a/pkg/controller/integration/initialize.go
+++ b/pkg/controller/integration/initialize.go
@@ -20,7 +20,6 @@ package integration
 import (
 	"context"
 
-	corev1 "k8s.io/api/core/v1"
 	k8serrors "k8s.io/apimachinery/pkg/api/errors"
 	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
 
@@ -56,14 +55,6 @@ func (action *initializeAction) Handle(ctx context.Context, integration *v1.Inte
 	}
 
 	if integration.Status.IntegrationKit == nil {
-		// nolint: staticcheck
-		if integration.Spec.IntegrationKit == nil && integration.Spec.Kit != "" {
-			// TODO: temporary fallback until deprecated field gets removed
-			integration.Spec.IntegrationKit = &corev1.ObjectReference{
-				Name: integration.Spec.Kit,
-			}
-		}
-
 		if integration.Spec.IntegrationKit != nil && integration.Spec.IntegrationKit.Name != "" {
 			kitNamespace := integration.Spec.IntegrationKit.Namespace
 			kitName := integration.Spec.IntegrationKit.Name
diff --git a/pkg/trait/container.go b/pkg/trait/container.go
index 5fc7da8..0f61820 100644
--- a/pkg/trait/container.go
+++ b/pkg/trait/container.go
@@ -186,12 +186,6 @@ func (t *containerTrait) configureImageIntegrationKit(e *Environment) error {
 				"unsupported configuration: a container image has been set in conjunction with an IntegrationKit %v",
 				e.Integration.Spec.IntegrationKit)
 		}
-		// nolint: staticcheck
-		if e.Integration.Spec.Kit != "" {
-			return fmt.Errorf(
-				"unsupported configuration: a container image has been set in conjunction with an IntegrationKit %s",
-				e.Integration.Spec.Kit)
-		}
 
 		kitName := fmt.Sprintf("kit-%s", e.Integration.Name)
 		kit := v1.NewIntegrationKit(e.Integration.Namespace, kitName)
diff --git a/pkg/trait/container_test.go b/pkg/trait/container_test.go
index c4deae4..494dd5b 100644
--- a/pkg/trait/container_test.go
+++ b/pkg/trait/container_test.go
@@ -278,57 +278,6 @@ func TestContainerWithCustomImageAndIntegrationKit(t *testing.T) {
 	assert.Contains(t, err.Error(), "unsupported configuration: a container image has been set in conjunction with an IntegrationKit")
 }
 
-func TestContainerWithCustomImageAndDeprecatedIntegrationKit(t *testing.T) {
-	catalog, err := camel.DefaultCatalog()
-	assert.Nil(t, err)
-
-	client, _ := test.NewFakeClient()
-	traitCatalog := NewCatalog(nil)
-
-	environment := Environment{
-		Ctx:          context.TODO(),
-		Client:       client,
-		CamelCatalog: catalog,
-		Catalog:      traitCatalog,
-		Integration: &v1.Integration{
-			ObjectMeta: metav1.ObjectMeta{
-				Name:      ServiceTestName,
-				Namespace: "ns",
-				UID:       types.UID(uuid.NewString()),
-			},
-			Status: v1.IntegrationStatus{
-				Phase: v1.IntegrationPhaseInitialization,
-			},
-			Spec: v1.IntegrationSpec{
-				Profile: v1.TraitProfileKubernetes,
-				Traits: map[string]v1.TraitSpec{
-					"container": test.TraitSpecFromMap(t, map[string]interface{}{
-						"image": "foo/bar:1.0.0",
-					}),
-				},
-				Kit: "bad-" + ServiceTestName,
-			},
-		},
-		Platform: &v1.IntegrationPlatform{
-			Spec: v1.IntegrationPlatformSpec{
-				Cluster: v1.IntegrationPlatformClusterOpenShift,
-				Build: v1.IntegrationPlatformBuildSpec{
-					PublishStrategy: v1.IntegrationPlatformBuildPublishStrategyS2I,
-					Registry:        v1.RegistrySpec{Address: "registry"},
-				},
-			},
-		},
-		EnvVars:        make([]corev1.EnvVar, 0),
-		ExecutedTraits: make([]Trait, 0),
-		Resources:      kubernetes.NewCollection(),
-	}
-	environment.Platform.ResyncStatusFullConfig()
-
-	err = traitCatalog.apply(&environment)
-	assert.NotNil(t, err)
-	assert.Contains(t, err.Error(), "unsupported configuration: a container image has been set in conjunction with an IntegrationKit")
-}
-
 func TestContainerWithImagePullPolicy(t *testing.T) {
 	catalog, err := camel.DefaultCatalog()
 	assert.Nil(t, err)

[camel-k] 08/18: fix(e2e): remove Kit

Posted by pc...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit ff6e06e756b4648e111d6ab2bce9cb2fd5b2984b
Author: Pasquale Congiusti <pa...@gmail.com>
AuthorDate: Tue Jan 25 10:20:17 2022 +0100

    fix(e2e): remove Kit
---
 e2e/common/cli/get_test.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/e2e/common/cli/get_test.go b/e2e/common/cli/get_test.go
index f9203d3..feb3b7c 100644
--- a/e2e/common/cli/get_test.go
+++ b/e2e/common/cli/get_test.go
@@ -42,7 +42,7 @@ func TestKamelCLIGet(t *testing.T) {
 			Eventually(IntegrationPodPhase(ns, "yaml"), TestTimeoutMedium).Should(Equal(corev1.PodRunning))
 			// regex is used for the compatibility of tests between OC and vanilla K8
 			// kamel get may have different output depending og the platform
-			kitName := Integration(ns, "yaml")().Status.Kit
+			kitName := Integration(ns, "yaml")().Status.IntegrationKit.Name
 			regex := fmt.Sprintf("^NAME\tPHASE\tKIT\n\\s*yaml\tRunning\t(%s/%s|%s)", ns, kitName, kitName)
 			Expect(GetOutputString(Kamel("get", "-n", ns))).To(MatchRegexp(regex))
 

[camel-k] 01/18: chore(cmd): remove deprecated flags

Posted by pc...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 118e35291f61f85068a7eb8270a4ba88f2d62d34
Author: Pasquale Congiusti <pa...@gmail.com>
AuthorDate: Mon Jan 24 11:09:49 2022 +0100

    chore(cmd): remove deprecated flags
    
    * --property-file
    * --configmap
    * -- secret
    
    Ref #2751
---
 .../modules/ROOT/pages/kamelets/kamelets-user.adoc |  2 +-
 e2e/common/languages/java_test.go                  |  2 +-
 examples/kafka/README.md                           |  2 +-
 examples/kafka/sasl_ssl/README.md                  |  4 +-
 examples/kafka/sasl_ssl/SaslSSLKafkaConsumer.java  |  2 +-
 examples/kafka/sasl_ssl/SaslSSLKafkaProducer.java  |  2 +-
 examples/kamelets/error-handler/readme.md          |  2 +-
 pkg/cmd/run.go                                     | 42 ++---------------
 pkg/cmd/run_test.go                                | 52 ----------------------
 9 files changed, 12 insertions(+), 98 deletions(-)

diff --git a/docs/modules/ROOT/pages/kamelets/kamelets-user.adoc b/docs/modules/ROOT/pages/kamelets/kamelets-user.adoc
index 7896031..b200d6f 100644
--- a/docs/modules/ROOT/pages/kamelets/kamelets-user.adoc
+++ b/docs/modules/ROOT/pages/kamelets/kamelets-user.adoc
@@ -198,7 +198,7 @@ Then the integration can be run with the following command:
 
 [source,shell]
 ----
-kamel run example.groovy --property-file example.properties
+kamel run example.groovy --property file:example.properties
 ----
 
 ==== 3. Implicit configuration using secrets
diff --git a/e2e/common/languages/java_test.go b/e2e/common/languages/java_test.go
index 60443bc..cbfc0da 100644
--- a/e2e/common/languages/java_test.go
+++ b/e2e/common/languages/java_test.go
@@ -46,7 +46,7 @@ func TestRunSimpleJavaExamples(t *testing.T) {
 		})
 
 		t.Run("run java with properties", func(t *testing.T) {
-			Expect(Kamel("run", "-n", ns, "files/Prop.java", "--property-file", "files/prop.properties").Execute()).To(Succeed())
+			Expect(Kamel("run", "-n", ns, "files/Prop.java", "--property", "file:files/prop.properties").Execute()).To(Succeed())
 			Eventually(IntegrationPodPhase(ns, "prop"), TestTimeoutMedium).Should(Equal(v1.PodRunning))
 			Eventually(IntegrationConditionStatus(ns, "prop", camelv1.IntegrationConditionReady), TestTimeoutShort).Should(Equal(v1.ConditionTrue))
 			Eventually(IntegrationLogs(ns, "prop"), TestTimeoutShort).Should(ContainSubstring("Magicstring!"))
diff --git a/examples/kafka/README.md b/examples/kafka/README.md
index 77b2435..a651849 100644
--- a/examples/kafka/README.md
+++ b/examples/kafka/README.md
@@ -21,7 +21,7 @@ IMPORTANT: The kafka.host value in application.properties needs to be set to the
 
 Finally run this sample using the command:
 ```
-./kamel run examples/kafka/SampleKafkaConsumer.java --configmap=kafka.props
+./kamel run examples/kafka/SampleKafkaConsumer.java --config=configmap:kafka.props
 ```
 
 To create messages to be read use the producer command from the Strimzi page:
diff --git a/examples/kafka/sasl_ssl/README.md b/examples/kafka/sasl_ssl/README.md
index 5ec7d1f..d6a5a29 100644
--- a/examples/kafka/sasl_ssl/README.md
+++ b/examples/kafka/sasl_ssl/README.md
@@ -19,7 +19,7 @@ kubectl create secret generic kafka-props --from-file application.properties
 At this stage, run a producer integration to fill the topic with a message, every 10 seconds:
 
 ```
-kamel run --secret kafka-props SaslSSLKafkaProducer.java --dev
+kamel run --config secret:kafka-props SaslSSLKafkaProducer.java --dev
 ```
 
 The producer will create a new message every 10 seconds, push into the topic and log some information.
@@ -38,7 +38,7 @@ The producer will create a new message every 10 seconds, push into the topic and
 Now, open another shell and run the consumer integration using the command:
 
 ```
-kamel run --secret kafka-props SaslSSLKafkaConsumer.java --dev
+kamel run --config secret:kafka-props SaslSSLKafkaConsumer.java --dev
 ```
 
 A consumer will start logging the events found in the Topic:
diff --git a/examples/kafka/sasl_ssl/SaslSSLKafkaConsumer.java b/examples/kafka/sasl_ssl/SaslSSLKafkaConsumer.java
index 30072db..42ed3f5 100644
--- a/examples/kafka/sasl_ssl/SaslSSLKafkaConsumer.java
+++ b/examples/kafka/sasl_ssl/SaslSSLKafkaConsumer.java
@@ -15,7 +15,7 @@
  * limitations under the License.
  */
 
-// kamel run --secret kafka-props SaslSSLKafkaConsumer.java --dev
+// kamel run --config secret:kafka-props SaslSSLKafkaConsumer.java --dev
 
 import org.apache.camel.builder.RouteBuilder;
 
diff --git a/examples/kafka/sasl_ssl/SaslSSLKafkaProducer.java b/examples/kafka/sasl_ssl/SaslSSLKafkaProducer.java
index 11e3f19..85caeb5 100644
--- a/examples/kafka/sasl_ssl/SaslSSLKafkaProducer.java
+++ b/examples/kafka/sasl_ssl/SaslSSLKafkaProducer.java
@@ -16,7 +16,7 @@
  */
 
 // kubectl create secret generic kafka-props --from-file application.properties
-// kamel run --secret kafka-props SaslSSLKafkaProducer.java --dev
+// kamel run --config secret:kafka-props SaslSSLKafkaProducer.java --dev
 
 import org.apache.camel.builder.RouteBuilder;
 
diff --git a/examples/kamelets/error-handler/readme.md b/examples/kamelets/error-handler/readme.md
index 2c400dc..27c17ef 100644
--- a/examples/kamelets/error-handler/readme.md
+++ b/examples/kamelets/error-handler/readme.md
@@ -114,7 +114,7 @@ As soon as the `Integration` starts, it will log the events on the `ok` log chan
 If you're curious to know what was going on in the DLC side, you can use the example you found in [kafka sasl ssl consumer](../kafka/sasl_ssl/):
 
 ```
-kamel run --secret kafka-props SaslSSLKafkaConsumer.java --dev
+kamel run --config secret:kafka-props SaslSSLKafkaConsumer.java --dev
 ...
 [1] 2021-04-29 08:57:08,636 INFO  [org.apa.kaf.com.uti.AppInfoParser] (Camel (camel-1) thread #0 - KafkaConsumer[my-first-test]) Kafka commitId: 448719dc99a19793
 [1] 2021-04-29 08:57:08,636 INFO  [org.apa.kaf.com.uti.AppInfoParser] (Camel (camel-1) thread #0 - KafkaConsumer[my-first-test]) Kafka startTimeMs: 1619686628635
diff --git a/pkg/cmd/run.go b/pkg/cmd/run.go
index 9f91312..3d0aa32 100644
--- a/pkg/cmd/run.go
+++ b/pkg/cmd/run.go
@@ -80,8 +80,6 @@ func newCmdRun(rootCmdOptions *RootCmdOptions) (*cobra.Command, *runCmdOptions)
 	cmd.Flags().StringArray("build-property", nil, "Add a build time property or properties file (syntax: [my-key=my-value|file:/path/to/my-conf.properties])")
 	cmd.Flags().StringArray("config", nil, "Add a runtime configuration from a Configmap, a Secret or a file (syntax: [configmap|secret|file]:name[/key], where name represents the local file path or the configmap/secret name and key optionally represents the configmap/secret key to be filtered)")
 	cmd.Flags().StringArray("resource", nil, "Add a runtime resource from a Configmap, a Secret or a file (syntax: [configmap|secret|file]:name[/key][@path], where name represents the local file path or the configmap/secret name, key optionally represents the configmap/secret key to be filtered and path represents the destination path)")
-	cmd.Flags().StringArray("configmap", nil, "[Deprecated] Add a ConfigMap")
-	cmd.Flags().StringArray("secret", nil, "[Deprecated] Add a Secret")
 	cmd.Flags().StringArray("maven-repository", nil, "Add a maven repository")
 	cmd.Flags().Bool("logs", false, "Print integration logs")
 	cmd.Flags().Bool("sync", false, "Synchronize the local source file with the cluster, republishing at each change")
@@ -94,7 +92,6 @@ func newCmdRun(rootCmdOptions *RootCmdOptions) (*cobra.Command, *runCmdOptions)
 	cmd.Flags().StringArray("open-api", nil, "Add an OpenAPI spec (syntax: [configmap|file]:name)")
 	cmd.Flags().StringArrayP("volume", "v", nil, "Mount a volume into the integration container. E.g \"-v pvcname:/container/path\"")
 	cmd.Flags().StringArrayP("env", "e", nil, "Set an environment variable in the integration container. E.g \"-e MY_VAR=my-value\"")
-	cmd.Flags().StringArray("property-file", nil, "[Deprecated] Bind a property file to the integration. E.g. \"--property-file integration.properties\"")
 	cmd.Flags().StringArray("annotation", nil, "Add an annotation to the integration. E.g. \"--annotation my.company=hello\"")
 	cmd.Flags().StringArray("label", nil, "Add a label to the integration. E.g. \"--label my.company=hello\"")
 	cmd.Flags().StringArray("source", nil, "Add source file to your integration, this is added to the list of files listed as arguments of the command")
@@ -129,17 +126,13 @@ type runCmdOptions struct {
 	Properties      []string `mapstructure:"properties" yaml:",omitempty"`
 	BuildProperties []string `mapstructure:"build-properties" yaml:",omitempty"`
 	Configs         []string `mapstructure:"configs" yaml:",omitempty"`
-	ConfigMaps      []string `mapstructure:"configmaps" yaml:",omitempty"`
-	Secrets         []string `mapstructure:"secrets" yaml:",omitempty"`
 	Repositories    []string `mapstructure:"maven-repositories" yaml:",omitempty"`
 	Traits          []string `mapstructure:"traits" yaml:",omitempty"`
 	Volumes         []string `mapstructure:"volumes" yaml:",omitempty"`
 	EnvVars         []string `mapstructure:"envs" yaml:",omitempty"`
-	// Deprecated: since 1.5
-	PropertyFiles []string `mapstructure:"property-files" yaml:",omitempty"`
-	Labels        []string `mapstructure:"labels" yaml:",omitempty"`
-	Annotations   []string `mapstructure:"annotations" yaml:",omitempty"`
-	Sources       []string `mapstructure:"sources" yaml:",omitempty"`
+	Labels          []string `mapstructure:"labels" yaml:",omitempty"`
+	Annotations     []string `mapstructure:"annotations" yaml:",omitempty"`
+	Sources         []string `mapstructure:"sources" yaml:",omitempty"`
 }
 
 func (o *runCmdOptions) decode(cmd *cobra.Command, args []string) error {
@@ -224,25 +217,9 @@ func (o *runCmdOptions) validate() error {
 		}
 	}
 
-	// Deprecation warning
-	if o.PropertyFiles != nil && len(o.PropertyFiles) > 0 {
-		fmt.Println("Warn: --property-file has been deprecated. You should use --property file:/path/to/conf.properties instead.")
-	}
-	if o.ConfigMaps != nil && len(o.ConfigMaps) > 0 {
-		fmt.Println("Warn: --configmap has been deprecated. You should use --config configmap:my-configmap instead.")
-	}
-	if o.Secrets != nil && len(o.Secrets) > 0 {
-		fmt.Println("Warn: --secret has been deprecated. You should use --config secret:my-secret instead.")
-	}
-
-	err := validatePropertyFiles(o.PropertyFiles)
-	if err != nil {
-		return err
-	}
-
 	propertyFiles := filterBuildPropertyFiles(o.Properties)
 	propertyFiles = append(propertyFiles, filterBuildPropertyFiles(o.BuildProperties)...)
-	err = validatePropertyFiles(propertyFiles)
+	err := validatePropertyFiles(propertyFiles)
 	if err != nil {
 		return err
 	}
@@ -424,7 +401,6 @@ func (o *runCmdOptions) syncIntegration(cmd *cobra.Command, c client.Client, sou
 	files = append(files, filterFileLocation(o.Configs)...)
 	files = append(files, filterFileLocation(o.Properties)...)
 	files = append(files, filterFileLocation(o.BuildProperties)...)
-	files = append(files, o.PropertyFiles...)
 	files = append(files, filterFileLocation(o.OpenAPIs)...)
 
 	for _, s := range files {
@@ -593,10 +569,6 @@ func (o *runCmdOptions) createOrUpdateIntegration(cmd *cobra.Command, c client.C
 	for _, item := range o.Dependencies {
 		integration.Spec.AddDependency(item)
 	}
-	for _, item := range o.PropertyFiles {
-		// Deprecated: making it compatible with newer mechanism
-		o.Properties = append(o.Properties, "file:"+item)
-	}
 
 	props, err := mergePropertiesWithPrecedence(o.Properties)
 	if err != nil {
@@ -625,12 +597,6 @@ func (o *runCmdOptions) createOrUpdateIntegration(cmd *cobra.Command, c client.C
 		o.Traits = append(o.Traits, buildPropsTraits...)
 	}
 
-	for _, item := range o.ConfigMaps {
-		integration.Spec.AddConfiguration("configmap", item)
-	}
-	for _, item := range o.Secrets {
-		integration.Spec.AddConfiguration("secret", item)
-	}
 	for _, item := range o.Volumes {
 		o.Traits = append(o.Traits, fmt.Sprintf("mount.volumes=%s", item))
 	}
diff --git a/pkg/cmd/run_test.go b/pkg/cmd/run_test.go
index dc35ee4..98740d6 100644
--- a/pkg/cmd/run_test.go
+++ b/pkg/cmd/run_test.go
@@ -87,18 +87,6 @@ func TestRunCompressionFlag(t *testing.T) {
 	assert.Equal(t, true, runCmdOptions.Compression)
 }
 
-func TestRunConfigMapFlag(t *testing.T) {
-	runCmdOptions, rootCmd, _ := initializeRunCmdOptions(t)
-	_, err := test.ExecuteCommand(rootCmd, cmdRun,
-		"--configmap", "configMap1",
-		"--configmap", "configMap2",
-		integrationSource)
-	assert.Nil(t, err)
-	assert.Len(t, runCmdOptions.ConfigMaps, 2)
-	assert.Equal(t, "configMap1", runCmdOptions.ConfigMaps[0])
-	assert.Equal(t, "configMap2", runCmdOptions.ConfigMaps[1])
-}
-
 func TestRunDependencyFlag(t *testing.T) {
 	runCmdOptions, rootCmd, _ := initializeRunCmdOptions(t)
 	_, err := test.ExecuteCommand(rootCmd, cmdRun,
@@ -236,15 +224,6 @@ func TestRunPropertyFlag(t *testing.T) {
 	assert.Equal(t, "property3", runCmdOptions.Properties[2])
 }
 
-func TestRunPropertyFileFlagMissingFileExtension(t *testing.T) {
-	_, rootCmd, _ := initializeRunCmdOptions(t)
-	_, err := test.ExecuteCommand(rootCmd, cmdRun,
-		"--property-file", "file1",
-		"--property-file", "file2",
-		integrationSource)
-	assert.NotNil(t, err)
-}
-
 const TestPropertyFileContent = `
 a=b
 # There's an issue in the properties lib: https://github.com/magiconair/properties/issues/59
@@ -274,25 +253,6 @@ func TestAddPropertyFile(t *testing.T) {
 	assert.Equal(t, `trait.properties=i = j\nk`, properties[2])
 }
 
-func TestRunPropertyFileFlag(t *testing.T) {
-	var tmpFile *os.File
-	var err error
-	if tmpFile, err = ioutil.TempFile("", "camel-k-*.properties"); err != nil {
-		t.Error(err)
-	}
-
-	assert.Nil(t, tmpFile.Close())
-	assert.Nil(t, ioutil.WriteFile(tmpFile.Name(), []byte(TestPropertyFileContent), 0o400))
-
-	runCmdOptions, rootCmd, _ := initializeRunCmdOptions(t)
-	_, errExecute := test.ExecuteCommand(rootCmd, cmdRun,
-		"--property-file", tmpFile.Name(),
-		integrationSource)
-	assert.Nil(t, errExecute)
-	assert.Len(t, runCmdOptions.PropertyFiles, 1)
-	assert.Equal(t, tmpFile.Name(), runCmdOptions.PropertyFiles[0])
-}
-
 func TestRunProperty(t *testing.T) {
 	properties, err := convertToTraitParameter(`key=value\nnewline`, "trait.properties")
 	assert.Nil(t, err)
@@ -319,18 +279,6 @@ func TestRunSaveFlag(t *testing.T) {
 	assert.Equal(t, true, runCmdOptions.Save)
 }
 
-func TestRunSecretFlag(t *testing.T) {
-	runCmdOptions, rootCmd, _ := initializeRunCmdOptions(t)
-	_, err := test.ExecuteCommand(rootCmd, cmdRun,
-		"--secret", "secret1",
-		"--secret", "secret2",
-		integrationSource)
-	assert.Nil(t, err)
-	assert.Len(t, runCmdOptions.Secrets, 2)
-	assert.Equal(t, "secret1", runCmdOptions.Secrets[0])
-	assert.Equal(t, "secret2", runCmdOptions.Secrets[1])
-}
-
 func TestRunSourceFlag(t *testing.T) {
 	runCmdOptions, rootCmd, _ := initializeRunCmdOptions(t)
 	_, err := test.ExecuteCommand(rootCmd, cmdRun, "--source", "source1", integrationSource)

[camel-k] 09/18: fix(e2e): master resource-name instead deprecated configmap

Posted by pc...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 6dff3e35ae264149e412bb0447d9c9d07a3b537b
Author: Pasquale Congiusti <pa...@gmail.com>
AuthorDate: Tue Jan 25 15:44:06 2022 +0100

    fix(e2e): master resource-name instead deprecated configmap
---
 e2e/common/traits/master_test.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/e2e/common/traits/master_test.go b/e2e/common/traits/master_test.go
index 08de2e2..d7d9658 100644
--- a/e2e/common/traits/master_test.go
+++ b/e2e/common/traits/master_test.go
@@ -72,7 +72,7 @@ func TestMasterTrait(t *testing.T) {
 				"--label", "leader-group=same",
 				"-t", "master.label-key=leader-group",
 				"-t", "master.label-value=same",
-				"-t", "master.configmap=first-lock",
+				"-t", "master.resource-name=first-lock",
 				"-t", "owner.target-labels=leader-group").Execute()).To(Succeed())
 			Eventually(IntegrationPodPhase(ns, "second"), TestTimeoutMedium).Should(Equal(corev1.PodRunning))
 			Eventually(IntegrationLogs(ns, "second"), TestTimeoutShort).Should(ContainSubstring("started in"))

[camel-k] 12/18: chore: update to v1alpha1.Template

Posted by pc...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 483eea05163cc1eafe5fe13eb47b1ea4c412eb4e
Author: Pasquale Congiusti <pa...@gmail.com>
AuthorDate: Thu Feb 3 12:59:05 2022 +0100

    chore: update to v1alpha1.Template
---
 e2e/support/test_support.go | 4 ++--
 pkg/trait/kamelets_test.go  | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/e2e/support/test_support.go b/e2e/support/test_support.go
index fce51b8..71a671b 100644
--- a/e2e/support/test_support.go
+++ b/e2e/support/test_support.go
@@ -1588,12 +1588,12 @@ func BindKameletToWithErrorHandler(ns string, name string, from corev1.ObjectRef
 	}
 }
 
-func asTemplate(source map[string]interface{}) *v1.Template {
+func asTemplate(source map[string]interface{}) *v1alpha1.Template {
 	bytes, err := json.Marshal(source)
 	if err != nil {
 		panic(err)
 	}
-	return &v1.Template{
+	return &v1alpha1.Template{
 		RawMessage: bytes,
 	}
 }
diff --git a/pkg/trait/kamelets_test.go b/pkg/trait/kamelets_test.go
index 78e36d5..9a7737b 100644
--- a/pkg/trait/kamelets_test.go
+++ b/pkg/trait/kamelets_test.go
@@ -571,11 +571,11 @@ func createKameletsTestEnvironment(flow string, objects ...runtime.Object) (*kam
 	return trait, environment
 }
 
-func templateOrFail(template map[string]interface{}) *v1.Template {
+func templateOrFail(template map[string]interface{}) *v1alpha1.Template {
 	data, err := json.Marshal(template)
 	if err != nil {
 		panic(err)
 	}
-	t := v1.Template{RawMessage: data}
+	t := v1alpha1.Template{RawMessage: data}
 	return &t
 }

[camel-k] 11/18: chore(api): maintain .kamelet.spec.flow

Posted by pc...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 667367d7228069c0e197ea8bfee75ac07e1558b2
Author: Pasquale Congiusti <pa...@gmail.com>
AuthorDate: Mon Jan 31 10:06:22 2022 +0100

    chore(api): maintain .kamelet.spec.flow
---
 docs/modules/ROOT/partials/apis/camel-k-crds.adoc  |  7 -------
 docs/modules/ROOT/partials/apis/kamelets-crds.adoc | 12 ++++++------
 pkg/apis/camel/v1alpha1/kamelet_types_support.go   | 10 ++++++++++
 pkg/kamelet/initialize.go                          |  9 +++++++++
 pkg/trait/kamelets.go                              |  3 ++-
 5 files changed, 27 insertions(+), 14 deletions(-)

diff --git a/docs/modules/ROOT/partials/apis/camel-k-crds.adoc b/docs/modules/ROOT/partials/apis/camel-k-crds.adoc
index 8d146da..f636fe8 100644
--- a/docs/modules/ROOT/partials/apis/camel-k-crds.adoc
+++ b/docs/modules/ROOT/partials/apis/camel-k-crds.adoc
@@ -2023,13 +2023,6 @@ string
 
 
 
-|`kit` +
-string
-|
-
-
-Deprecated: use the IntegrationKit field
-
 |`integrationKit` +
 *https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#objectreference-v1-core[Kubernetes core/v1.ObjectReference]*
 |
diff --git a/docs/modules/ROOT/partials/apis/kamelets-crds.adoc b/docs/modules/ROOT/partials/apis/kamelets-crds.adoc
index 3ca5d90..c9599ec 100644
--- a/docs/modules/ROOT/partials/apis/kamelets-crds.adoc
+++ b/docs/modules/ROOT/partials/apis/kamelets-crds.adoc
@@ -1042,19 +1042,19 @@ KameletSpec defines the desired state of Kamelet
 
 
 
-|`template` +
-*xref:#_camel_apache_org_v1alpha1_Template[Template]*
+|`flow` +
+*xref:apis/camel-k.adoc#_camel_apache_org_v1_Flow[github.com/apache/camel-k/pkg/apis/camel/v1.Flow]*
 |
 
 
+Deprecated: use template
 
-
-|`flow` +
-*xref:apis/camel-k.adoc#_camel_apache_org_v1_Flow[github.com/apache/camel-k/pkg/apis/camel/v1.Flow]*
+|`template` +
+*xref:apis/camel-k.adoc#_camel_apache_org_v1_Template[github.com/apache/camel-k/pkg/apis/camel/v1.Template]*
 |
 
 
-Deprecated: use template
+
 
 |`authorization` +
 *xref:#_camel_apache_org_v1alpha1_AuthorizationSpec[AuthorizationSpec]*
diff --git a/pkg/apis/camel/v1alpha1/kamelet_types_support.go b/pkg/apis/camel/v1alpha1/kamelet_types_support.go
index 52635f2..e363204 100644
--- a/pkg/apis/camel/v1alpha1/kamelet_types_support.go
+++ b/pkg/apis/camel/v1alpha1/kamelet_types_support.go
@@ -192,6 +192,16 @@ func ValidKameletProperties(kamelet *Kamelet) bool {
 	return true
 }
 
+func ValidKameletTemplate(kamelet *Kamelet) bool {
+	if kamelet == nil {
+		return true
+	}
+	if kamelet.Spec.Template != nil && kamelet.Spec.Flow != nil {
+		return false
+	}
+	return true
+}
+
 // NewKamelet creates a new kamelet
 func NewKamelet(namespace string, name string) Kamelet {
 	return Kamelet{
diff --git a/pkg/kamelet/initialize.go b/pkg/kamelet/initialize.go
index cb0a93b..0ac666a 100644
--- a/pkg/kamelet/initialize.go
+++ b/pkg/kamelet/initialize.go
@@ -50,6 +50,15 @@ func Initialize(kamelet *v1alpha1.Kamelet) (*v1alpha1.Kamelet, error) {
 			fmt.Sprintf("Kamelet property %q is reserved and cannot be part of the schema", v1alpha1.KameletIDProperty),
 		)
 	}
+	if !v1alpha1.ValidKameletTemplate(kamelet) {
+		ok = false
+		target.Status.SetCondition(
+			v1alpha1.KameletConditionReady,
+			corev1.ConditionFalse,
+			v1alpha1.KameletConditionReasonInvalidTemplate,
+			`Kamelet can only specify one of "flow" or "template"`,
+		)
+	}
 
 	if !ok {
 		target.Status.Phase = v1alpha1.KameletPhaseError
diff --git a/pkg/trait/kamelets.go b/pkg/trait/kamelets.go
index fd9ada3..a5c1c93 100644
--- a/pkg/trait/kamelets.go
+++ b/pkg/trait/kamelets.go
@@ -254,7 +254,8 @@ func (t *kameletsTrait) configureApplicationProperties(e *Environment) error {
 func (t *kameletsTrait) addKameletAsSource(e *Environment, kamelet *v1alpha1.Kamelet) error {
 	sources := make([]v1.SourceSpec, 0)
 
-	if kamelet.Spec.Template != nil {
+	// nolint: staticcheck
+	if kamelet.Spec.Template != nil || kamelet.Spec.Flow != nil {
 		template := kamelet.Spec.Template
 		if template == nil {
 			// Backward compatibility with Kamelets using flow

[camel-k] 05/18: chore(api): Remove Flow from KameletSpec

Posted by pc...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 51ef518a7e74b8585e6e880591933e263794a77b
Author: Pasquale Congiusti <pa...@gmail.com>
AuthorDate: Mon Jan 24 12:52:25 2022 +0100

    chore(api): Remove Flow from KameletSpec
    
    Ref #2751
---
 docs/modules/ROOT/partials/apis/camel-k-crds.adoc  | 28 ---------------
 docs/modules/ROOT/partials/apis/crds-html.adoc     | 29 +---------------
 docs/modules/ROOT/partials/apis/kamelets-crds.adoc | 40 +++++++++++++++++++---
 e2e/support/test_support.go                        |  8 ++---
 pkg/apis/camel/v1/zz_generated.deepcopy.go         |  7 ++++
 pkg/apis/camel/v1alpha1/kamelet_types.go           |  2 +-
 pkg/apis/camel/v1alpha1/kamelet_types_support.go   | 10 ------
 pkg/kamelet/initialize.go                          |  9 -----
 pkg/trait/kamelets.go                              |  3 +-
 pkg/trait/kamelets_test.go                         | 26 +++++++-------
 10 files changed, 62 insertions(+), 100 deletions(-)

diff --git a/docs/modules/ROOT/partials/apis/camel-k-crds.adoc b/docs/modules/ROOT/partials/apis/camel-k-crds.adoc
index d8df047..8d146da 100644
--- a/docs/modules/ROOT/partials/apis/camel-k-crds.adoc
+++ b/docs/modules/ROOT/partials/apis/camel-k-crds.adoc
@@ -1911,13 +1911,6 @@ Deprecated:
 Use container trait (container.resources) to manage resources
 Use openapi trait (openapi.configmaps) to manage OpenAPIs specifications
 
-|`kit` +
-string
-|
-
-
-Deprecated: use the IntegrationKit field
-
 |`integrationKit` +
 *https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#objectreference-v1-core[Kubernetes core/v1.ObjectReference]*
 |
@@ -2523,7 +2516,6 @@ string
 *Appears on:*
 
 * <<#_camel_apache_org_v1_Flow, Flow>>
-* <<#_camel_apache_org_v1_Template, Template>>
 * <<#_camel_apache_org_v1_TraitConfiguration, TraitConfiguration>>
 
 RawMessage is a raw encoded JSON value.
@@ -2997,26 +2989,6 @@ Task --
 
 |===
 
-[#_camel_apache_org_v1_Template]
-=== Template
-
-Template is an unstructured object representing a Kamelet template in YAML/JSON DSL
-
-[cols="2,2a",options="header"]
-|===
-|Field
-|Description
-
-|`RawMessage` +
-*xref:#_camel_apache_org_v1_RawMessage[RawMessage]*
-|(Members of `RawMessage` are embedded into this type.)
-
-
-
-
-
-|===
-
 [#_camel_apache_org_v1_TraitConfiguration]
 === TraitConfiguration
 
diff --git a/docs/modules/ROOT/partials/apis/crds-html.adoc b/docs/modules/ROOT/partials/apis/crds-html.adoc
index c86feb7..3fe1de5 100644
--- a/docs/modules/ROOT/partials/apis/crds-html.adoc
+++ b/docs/modules/ROOT/partials/apis/crds-html.adoc
@@ -2078,8 +2078,7 @@ Kubernetes meta/v1.Time
 </h3>
 <p>
 (<em>Appears on:</em>
-<a href="#camel.apache.org/v1.IntegrationSpec">IntegrationSpec</a>, 
-<a href="#camel.apache.org/v1alpha1.KameletSpec">KameletSpec</a>)
+<a href="#camel.apache.org/v1.IntegrationSpec">IntegrationSpec</a>)
 </p>
 <div>
 <p>Flow is an unstructured object representing a Camel Flow in YAML/JSON DSL</p>
@@ -5064,19 +5063,6 @@ Template
 </tr>
 <tr>
 <td>
-<code>flow</code><br/>
-<em>
-<a href="#camel.apache.org/v1.Flow">
-Flow
-</a>
-</em>
-</td>
-<td>
-<p>Deprecated: use template</p>
-</td>
-</tr>
-<tr>
-<td>
 <code>authorization</code><br/>
 <em>
 <a href="#camel.apache.org/v1alpha1.AuthorizationSpec">
@@ -6596,19 +6582,6 @@ Template
 </tr>
 <tr>
 <td>
-<code>flow</code><br/>
-<em>
-<a href="#camel.apache.org/v1.Flow">
-Flow
-</a>
-</em>
-</td>
-<td>
-<p>Deprecated: use template</p>
-</td>
-</tr>
-<tr>
-<td>
 <code>authorization</code><br/>
 <em>
 <a href="#camel.apache.org/v1alpha1.AuthorizationSpec">
diff --git a/docs/modules/ROOT/partials/apis/kamelets-crds.adoc b/docs/modules/ROOT/partials/apis/kamelets-crds.adoc
index 0a23dc2..3ca5d90 100644
--- a/docs/modules/ROOT/partials/apis/kamelets-crds.adoc
+++ b/docs/modules/ROOT/partials/apis/kamelets-crds.adoc
@@ -112,7 +112,7 @@ BeanProperties represent an unstructured object properties to be set on a bean
 |Description
 
 |`RawMessage` +
-*xref:apis/camel-k.adoc#_camel_apache_org_v1_RawMessage[github.com/apache/camel-k/pkg/apis/camel/v1.RawMessage]*
+*xref:#_camel_apache_org_v1alpha1_RawMessage[RawMessage]*
 |
 
 
@@ -182,7 +182,7 @@ EndpointProperties is a key/value struct represented as JSON raw to allow numeri
 |Description
 
 |`RawMessage` +
-*xref:apis/camel-k.adoc#_camel_apache_org_v1_RawMessage[github.com/apache/camel-k/pkg/apis/camel/v1.RawMessage]*
+*xref:#_camel_apache_org_v1alpha1_RawMessage[RawMessage]*
 |(Members of `RawMessage` are embedded into this type.)
 
 
@@ -266,7 +266,7 @@ ErrorHandlerParameters represent an unstructured object for error handler parame
 |Description
 
 |`RawMessage` +
-*xref:apis/camel-k.adoc#_camel_apache_org_v1_RawMessage[github.com/apache/camel-k/pkg/apis/camel/v1.RawMessage]*
+*xref:#_camel_apache_org_v1alpha1_RawMessage[RawMessage]*
 |
 
 
@@ -317,7 +317,7 @@ ErrorHandlerSpec represents an unstructured object for an error handler
 |Description
 
 |`RawMessage` +
-*xref:apis/camel-k.adoc#_camel_apache_org_v1_RawMessage[github.com/apache/camel-k/pkg/apis/camel/v1.RawMessage]*
+*xref:#_camel_apache_org_v1alpha1_RawMessage[RawMessage]*
 |
 
 
@@ -1043,7 +1043,7 @@ KameletSpec defines the desired state of Kamelet
 
 
 |`template` +
-*xref:apis/camel-k.adoc#_camel_apache_org_v1_Template[github.com/apache/camel-k/pkg/apis/camel/v1.Template]*
+*xref:#_camel_apache_org_v1alpha1_Template[Template]*
 |
 
 
@@ -1123,8 +1123,38 @@ KameletStatus defines the observed state of Kamelet
 
 *Appears on:*
 
+* <<#_camel_apache_org_v1alpha1_BeanProperties, BeanProperties>>
+* <<#_camel_apache_org_v1alpha1_EndpointProperties, EndpointProperties>>
+* <<#_camel_apache_org_v1alpha1_ErrorHandlerParameters, ErrorHandlerParameters>>
+* <<#_camel_apache_org_v1alpha1_ErrorHandlerSpec, ErrorHandlerSpec>>
 * <<#_camel_apache_org_v1alpha1_JSON, JSON>>
+* <<#_camel_apache_org_v1alpha1_Template, Template>>
 
 RawMessage is a raw encoded JSON value.
 It implements Marshaler and Unmarshaler and can
 be used to delay JSON decoding or precompute a JSON encoding.
+
+
+[#_camel_apache_org_v1alpha1_Template]
+=== Template
+
+*Appears on:*
+
+* <<#_camel_apache_org_v1alpha1_KameletSpec, KameletSpec>>
+
+Template is an unstructured object representing a Kamelet template in YAML/JSON DSL
+
+[cols="2,2a",options="header"]
+|===
+|Field
+|Description
+
+|`RawMessage` +
+*xref:#_camel_apache_org_v1alpha1_RawMessage[RawMessage]*
+|(Members of `RawMessage` are embedded into this type.)
+
+
+
+
+
+|===
\ No newline at end of file
diff --git a/e2e/support/test_support.go b/e2e/support/test_support.go
index 9649525..fce51b8 100644
--- a/e2e/support/test_support.go
+++ b/e2e/support/test_support.go
@@ -1519,7 +1519,7 @@ func CreateKnativeChannel(ns string, name string) func() error {
 	Kamelets
 */
 
-func CreateKamelet(ns string, name string, flow map[string]interface{}, properties map[string]v1alpha1.JSONSchemaProp, labels map[string]string) func() error {
+func CreateKamelet(ns string, name string, template map[string]interface{}, properties map[string]v1alpha1.JSONSchemaProp, labels map[string]string) func() error {
 	return func() error {
 		kamelet := v1alpha1.Kamelet{
 			ObjectMeta: metav1.ObjectMeta{
@@ -1531,7 +1531,7 @@ func CreateKamelet(ns string, name string, flow map[string]interface{}, properti
 				Definition: &v1alpha1.JSONSchemaProps{
 					Properties: properties,
 				},
-				Flow: asFlow(flow),
+				Template: asTemplate(template),
 			},
 		}
 		return TestClient().Create(TestContext, &kamelet)
@@ -1588,12 +1588,12 @@ func BindKameletToWithErrorHandler(ns string, name string, from corev1.ObjectRef
 	}
 }
 
-func asFlow(source map[string]interface{}) *v1.Flow {
+func asTemplate(source map[string]interface{}) *v1.Template {
 	bytes, err := json.Marshal(source)
 	if err != nil {
 		panic(err)
 	}
-	return &v1.Flow{
+	return &v1.Template{
 		RawMessage: bytes,
 	}
 }
diff --git a/pkg/apis/camel/v1/zz_generated.deepcopy.go b/pkg/apis/camel/v1/zz_generated.deepcopy.go
index 8aa48a4..01b27a7 100644
--- a/pkg/apis/camel/v1/zz_generated.deepcopy.go
+++ b/pkg/apis/camel/v1/zz_generated.deepcopy.go
@@ -439,6 +439,13 @@ func (in *CamelLoader) DeepCopyInto(out *CamelLoader) {
 		*out = make([]MavenArtifact, len(*in))
 		copy(*out, *in)
 	}
+	if in.Metadata != nil {
+		in, out := &in.Metadata, &out.Metadata
+		*out = make(map[string]string, len(*in))
+		for key, val := range *in {
+			(*out)[key] = val
+		}
+	}
 }
 
 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CamelLoader.
diff --git a/pkg/apis/camel/v1alpha1/kamelet_types.go b/pkg/apis/camel/v1alpha1/kamelet_types.go
index 63895e0..c4b19b9 100644
--- a/pkg/apis/camel/v1alpha1/kamelet_types.go
+++ b/pkg/apis/camel/v1alpha1/kamelet_types.go
@@ -45,7 +45,7 @@ var (
 type KameletSpec struct {
 	Definition *JSONSchemaProps     `json:"definition,omitempty"`
 	Sources    []camelv1.SourceSpec `json:"sources,omitempty"`
-	Template   *Template    `json:"template,omitempty"`
+	Template   *Template            `json:"template,omitempty"`
 	// Deprecated: use template
 	Flow          *camelv1.Flow               `json:"flow,omitempty"`
 	Authorization *AuthorizationSpec          `json:"authorization,omitempty"`
diff --git a/pkg/apis/camel/v1alpha1/kamelet_types_support.go b/pkg/apis/camel/v1alpha1/kamelet_types_support.go
index e363204..52635f2 100644
--- a/pkg/apis/camel/v1alpha1/kamelet_types_support.go
+++ b/pkg/apis/camel/v1alpha1/kamelet_types_support.go
@@ -192,16 +192,6 @@ func ValidKameletProperties(kamelet *Kamelet) bool {
 	return true
 }
 
-func ValidKameletTemplate(kamelet *Kamelet) bool {
-	if kamelet == nil {
-		return true
-	}
-	if kamelet.Spec.Template != nil && kamelet.Spec.Flow != nil {
-		return false
-	}
-	return true
-}
-
 // NewKamelet creates a new kamelet
 func NewKamelet(namespace string, name string) Kamelet {
 	return Kamelet{
diff --git a/pkg/kamelet/initialize.go b/pkg/kamelet/initialize.go
index 0ac666a..cb0a93b 100644
--- a/pkg/kamelet/initialize.go
+++ b/pkg/kamelet/initialize.go
@@ -50,15 +50,6 @@ func Initialize(kamelet *v1alpha1.Kamelet) (*v1alpha1.Kamelet, error) {
 			fmt.Sprintf("Kamelet property %q is reserved and cannot be part of the schema", v1alpha1.KameletIDProperty),
 		)
 	}
-	if !v1alpha1.ValidKameletTemplate(kamelet) {
-		ok = false
-		target.Status.SetCondition(
-			v1alpha1.KameletConditionReady,
-			corev1.ConditionFalse,
-			v1alpha1.KameletConditionReasonInvalidTemplate,
-			`Kamelet can only specify one of "flow" or "template"`,
-		)
-	}
 
 	if !ok {
 		target.Status.Phase = v1alpha1.KameletPhaseError
diff --git a/pkg/trait/kamelets.go b/pkg/trait/kamelets.go
index a5c1c93..fd9ada3 100644
--- a/pkg/trait/kamelets.go
+++ b/pkg/trait/kamelets.go
@@ -254,8 +254,7 @@ func (t *kameletsTrait) configureApplicationProperties(e *Environment) error {
 func (t *kameletsTrait) addKameletAsSource(e *Environment, kamelet *v1alpha1.Kamelet) error {
 	sources := make([]v1.SourceSpec, 0)
 
-	// nolint: staticcheck
-	if kamelet.Spec.Template != nil || kamelet.Spec.Flow != nil {
+	if kamelet.Spec.Template != nil {
 		template := kamelet.Spec.Template
 		if template == nil {
 			// Backward compatibility with Kamelets using flow
diff --git a/pkg/trait/kamelets_test.go b/pkg/trait/kamelets_test.go
index 69de59e..78e36d5 100644
--- a/pkg/trait/kamelets_test.go
+++ b/pkg/trait/kamelets_test.go
@@ -87,7 +87,7 @@ func TestKameletLookup(t *testing.T) {
 			Name:      "timer",
 		},
 		Spec: v1alpha1.KameletSpec{
-			Flow: marshalOrFail(map[string]interface{}{
+			Template: templateOrFail(map[string]interface{}{
 				"from": map[string]interface{}{
 					"uri": "timer:tick",
 				},
@@ -131,7 +131,7 @@ func TestKameletSecondarySourcesLookup(t *testing.T) {
 			Name:      "timer",
 		},
 		Spec: v1alpha1.KameletSpec{
-			Flow: marshalOrFail(map[string]interface{}{
+			Template: templateOrFail(map[string]interface{}{
 				"from": map[string]interface{}{
 					"uri": "timer:tick",
 				},
@@ -230,7 +230,7 @@ func TestMultipleKamelets(t *testing.T) {
 			Name:      "timer",
 		},
 		Spec: v1alpha1.KameletSpec{
-			Flow: marshalOrFail(map[string]interface{}{
+			Template: templateOrFail(map[string]interface{}{
 				"from": map[string]interface{}{
 					"uri": "timer:tick",
 				},
@@ -256,7 +256,7 @@ func TestMultipleKamelets(t *testing.T) {
 			Name:      "logger",
 		},
 		Spec: v1alpha1.KameletSpec{
-			Flow: marshalOrFail(map[string]interface{}{
+			Template: templateOrFail(map[string]interface{}{
 				"from": map[string]interface{}{
 					"uri": "tbd:endpoint",
 					"steps": []interface{}{
@@ -325,7 +325,7 @@ func TestKameletConfigLookup(t *testing.T) {
 			Name:      "timer",
 		},
 		Spec: v1alpha1.KameletSpec{
-			Flow: marshalOrFail(map[string]interface{}{
+			Template: templateOrFail(map[string]interface{}{
 				"from": map[string]interface{}{
 					"uri": "timer:tick",
 				},
@@ -388,7 +388,7 @@ func TestKameletNamedConfigLookup(t *testing.T) {
 			Name:      "timer",
 		},
 		Spec: v1alpha1.KameletSpec{
-			Flow: marshalOrFail(map[string]interface{}{
+			Template: templateOrFail(map[string]interface{}{
 				"from": map[string]interface{}{
 					"uri": "timer:tick",
 				},
@@ -458,7 +458,7 @@ func TestKameletConditionFalse(t *testing.T) {
 				Name:      "timer",
 			},
 			Spec: v1alpha1.KameletSpec{
-				Flow: marshalOrFail(map[string]interface{}{
+				Template: templateOrFail(map[string]interface{}{
 					"from": map[string]interface{}{
 						"uri": "timer:tick",
 					},
@@ -497,7 +497,7 @@ func TestKameletConditionTrue(t *testing.T) {
 				Name:      "timer",
 			},
 			Spec: v1alpha1.KameletSpec{
-				Flow: marshalOrFail(map[string]interface{}{
+				Template: templateOrFail(map[string]interface{}{
 					"from": map[string]interface{}{
 						"uri": "timer:tick",
 					},
@@ -511,7 +511,7 @@ func TestKameletConditionTrue(t *testing.T) {
 				Name:      "none",
 			},
 			Spec: v1alpha1.KameletSpec{
-				Flow: marshalOrFail(map[string]interface{}{
+				Template: templateOrFail(map[string]interface{}{
 					"from": map[string]interface{}{
 						"uri": "timer:tick",
 					},
@@ -571,11 +571,11 @@ func createKameletsTestEnvironment(flow string, objects ...runtime.Object) (*kam
 	return trait, environment
 }
 
-func marshalOrFail(flow map[string]interface{}) *v1.Flow {
-	data, err := json.Marshal(flow)
+func templateOrFail(template map[string]interface{}) *v1.Template {
+	data, err := json.Marshal(template)
 	if err != nil {
 		panic(err)
 	}
-	f := v1.Flow{RawMessage: data}
-	return &f
+	t := v1.Template{RawMessage: data}
+	return &t
 }

[camel-k] 14/18: fix(ci): upgrade Yaks version

Posted by pc...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit c9e76b692fddc083f90b4f649ab5e0806710f6e0
Author: Pasquale Congiusti <pa...@gmail.com>
AuthorDate: Wed Feb 9 13:37:26 2022 +0100

    fix(ci): upgrade Yaks version
    
    Needed for usage of `.spec.template` vs `.spec.flow`
---
 .github/actions/kamel-install-yaks/action.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.github/actions/kamel-install-yaks/action.yml b/.github/actions/kamel-install-yaks/action.yml
index 7eb72f0..a54e6d2 100644
--- a/.github/actions/kamel-install-yaks/action.yml
+++ b/.github/actions/kamel-install-yaks/action.yml
@@ -24,8 +24,8 @@ runs:
       name: Get YAKS
       shell: bash
       run: |
-        export YAKS_VERSION=0.4.0
-        curl --fail -L https://github.com/citrusframework/yaks/releases/download/v${YAKS_VERSION}/yaks-${YAKS_VERSION}-linux-64bit.tar.gz -o yaks.tar.gz
+        export YAKS_VERSION=0.9.0-202202081029
+        curl --fail -L https://github.com/citrusframework/yaks/releases/download/${YAKS_VERSION}/yaks-${YAKS_VERSION}-linux-64bit.tar.gz -o yaks.tar.gz
         tar -zxf yaks.tar.gz
         sudo mv yaks /usr/local/bin/
 

[camel-k] 13/18: fix(e2e): use custom timer-source name

Posted by pc...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 4a0a05ab81b0668d1eaa071c695608c5dd23c407
Author: Pasquale Congiusti <pa...@gmail.com>
AuthorDate: Tue Feb 8 15:32:52 2022 +0100

    fix(e2e): use custom timer-source name
---
 e2e/service-binding/service_binding_kamelet_test.go | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/e2e/service-binding/service_binding_kamelet_test.go b/e2e/service-binding/service_binding_kamelet_test.go
index 9c70d78..390c376 100644
--- a/e2e/service-binding/service_binding_kamelet_test.go
+++ b/e2e/service-binding/service_binding_kamelet_test.go
@@ -58,15 +58,15 @@ func TestKameletServiceBindingTrait(t *testing.T) {
 		serviceRef := fmt.Sprintf("%s:%s/%s", service.TypeMeta.Kind, ns, service.ObjectMeta.Name)
 		Expect(TestClient().Create(TestContext, service)).To(Succeed())
 
-		Expect(CreateTimerKamelet(ns, "timer-source")()).To(Succeed())
+		Expect(CreateTimerKamelet(ns, "my-timer-source")()).To(Succeed())
 
-		Expect(Kamel("bind", "timer-source", "log:info",
+		Expect(Kamel("bind", "my-timer-source", "log:info",
 			"-p", "source.message=Hello+world",
 			"--connect", serviceRef, "-n", ns).
 			Execute()).To(Succeed())
-		Eventually(IntegrationPodPhase(ns, "timer-source-to-log"), TestTimeoutLong).Should(Equal(corev1.PodRunning))
+		Eventually(IntegrationPodPhase(ns, "my-timer-source-to-log"), TestTimeoutLong).Should(Equal(corev1.PodRunning))
 
-		Eventually(IntegrationLogs(ns, "timer-source-to-log")).Should(ContainSubstring("Body: Hello+world"))
+		Eventually(IntegrationLogs(ns, "my-timer-source-to-log")).Should(ContainSubstring("Body: Hello+world"))
 
 		Expect(Kamel("delete", "--all", "-n", ns).Execute()).To(Succeed())
 	})

[camel-k] 16/18: fix(ci): Use `Camel K` instead of `Camel-K` in YAKS steps

Posted by pc...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 675bc73bc9c5f2ca9528f41910134f9a85246bff
Author: Christoph Deppisch <cd...@redhat.com>
AuthorDate: Tue Feb 15 15:46:23 2022 +0100

    fix(ci): Use `Camel K` instead of `Camel-K` in YAKS steps
---
 .../actions/kamel-install-cluster-setup/action.yml |  2 +-
 .github/actions/kamel-install-yaks/action.yml      |  2 +-
 .../actions/kamel-preflight-test/preflight-test.sh |  2 +-
 docs/modules/ROOT/nav-end.adoc                     |  2 +-
 .../ROOT/pages/configuration/runtime-config.adoc   |  8 ++---
 .../pages/configuration/runtime-resources.adoc     |  8 ++---
 docs/modules/ROOT/pages/index.adoc                 |  6 ++--
 docs/modules/ROOT/pages/kamelets/kamelets-dev.adoc |  8 ++---
 e2e/upgrade/olm_upgrade_test.go                    |  7 ++---
 .../common/apache-kamelet-catalog/kamelet.feature  |  6 ++--
 e2e/yaks/common/kamelet-beans/kamelet.feature      |  6 ++--
 .../kamelet-autoload-specific.feature              |  2 +-
 .../kamelet-autoload.feature                       |  2 +-
 .../common/kamelet-binding-broker/kamelet.feature  |  6 ++--
 .../common/kamelet-binding-http/kamelet.feature    |  8 ++---
 .../properties.feature                             |  4 +--
 e2e/yaks/common/kamelet-binding/kamelet.feature    |  6 ++--
 .../kamelet-no-properties/kamelet-no-props.feature |  8 ++---
 .../common/kamelet-steps/steps-binding.feature     |  6 ++--
 e2e/yaks/common/kamelet/kamelet.feature            |  6 ++--
 .../common/knative-broker/knative-broker.feature   | 34 +++++++++++-----------
 .../common/knative-sinkbinding/sinkbinding.feature |  6 ++--
 e2e/yaks/openshift/monitoring/alerting.feature     |  8 ++---
 e2e/yaks/openshift/monitoring/metrics.feature      |  6 ++--
 helm/camel-k/README.md                             |  2 +-
 pkg/cmd/local_run.go                               |  2 +-
 release.adoc                                       |  4 +--
 27 files changed, 83 insertions(+), 84 deletions(-)

diff --git a/.github/actions/kamel-install-cluster-setup/action.yml b/.github/actions/kamel-install-cluster-setup/action.yml
index 4cc48fd..cfdecd6 100644
--- a/.github/actions/kamel-install-cluster-setup/action.yml
+++ b/.github/actions/kamel-install-cluster-setup/action.yml
@@ -27,7 +27,7 @@ runs:
   using: "composite"
   steps:
     - id: execute-kamel
-      name: Install Camel-K Cluster Resources
+      name: Install Camel K Cluster Resources
       shell: bash
       run: |
         ./.github/actions/kamel-install-cluster-setup/install-cluster-setup.sh \
diff --git a/.github/actions/kamel-install-yaks/action.yml b/.github/actions/kamel-install-yaks/action.yml
index a54e6d2..e41cb81 100644
--- a/.github/actions/kamel-install-yaks/action.yml
+++ b/.github/actions/kamel-install-yaks/action.yml
@@ -24,7 +24,7 @@ runs:
       name: Get YAKS
       shell: bash
       run: |
-        export YAKS_VERSION=0.9.0-202202081029
+        export YAKS_VERSION=0.9.0-202202081449
         curl --fail -L https://github.com/citrusframework/yaks/releases/download/${YAKS_VERSION}/yaks-${YAKS_VERSION}-linux-64bit.tar.gz -o yaks.tar.gz
         tar -zxf yaks.tar.gz
         sudo mv yaks /usr/local/bin/
diff --git a/.github/actions/kamel-preflight-test/preflight-test.sh b/.github/actions/kamel-preflight-test/preflight-test.sh
index bacae0b..a584193 100755
--- a/.github/actions/kamel-preflight-test/preflight-test.sh
+++ b/.github/actions/kamel-preflight-test/preflight-test.sh
@@ -154,7 +154,7 @@ do
   sleep 1
 done
 
-echo "Camel-K operator up and running"
+echo "Camel K operator up and running"
 
 camel_operator=$(kubectl get pods -n ${NAMESPACE} | grep camel-k | awk '{print $1}')
 camel_op_version=$(kubectl logs ${camel_operator} -n ${NAMESPACE} | sed -n 's/.*"Camel K Operator Version: \(.*\)"}/\1/p')
diff --git a/docs/modules/ROOT/nav-end.adoc b/docs/modules/ROOT/nav-end.adoc
index 0342888..06a882f 100644
--- a/docs/modules/ROOT/nav-end.adoc
+++ b/docs/modules/ROOT/nav-end.adoc
@@ -15,7 +15,7 @@
 ** xref:architecture/runtime.adoc[Runtime]
 ** xref:architecture/traits.adoc[Traits]
 * API
-** xref:apis/camel-k.adoc[Camel-K API]
+** xref:apis/camel-k.adoc[Camel K API]
 ** xref:apis/kamelets.adoc[Kamelets API]
 * xref:uninstalling.adoc[Uninstalling]
 * xref:contributing/developers.adoc[Contributing]
diff --git a/docs/modules/ROOT/pages/configuration/runtime-config.adoc b/docs/modules/ROOT/pages/configuration/runtime-config.adoc
index cb68f2b..7f6ce84 100644
--- a/docs/modules/ROOT/pages/configuration/runtime-config.adoc
+++ b/docs/modules/ROOT/pages/configuration/runtime-config.adoc
@@ -1,7 +1,7 @@
 [[runtime-config]]
 = Runtime configuration
 
-When you develop an integration with `Camel-K` there are many ways you can provide a *configuration* resource to the runtime `Integration`. The most familiar way is to handle local file, but since we are dealing with `Kubernetes` you may need also to use `Configmap` or `Secret`. The `kamel run` command is provided with a `--config` flag that help you setting any configuration resource your `Integration` need.
+When you develop an integration with `Camel K` there are many ways you can provide a *configuration* resource to the runtime `Integration`. The most familiar way is to handle local file, but since we are dealing with `Kubernetes` you may need also to use `Configmap` or `Secret`. The `kamel run` command is provided with a `--config` flag that help you setting any configuration resource your `Integration` need.
 
 The *runtime configuration* are expected to be `ÙTF-8` resources as they are processed by runtime `Camel Context` and tried to be parsed as property files. These resources are materialized as files in a well known path in the `Ìntegration` `Pod`. They are also made available on the classpath in order to ease their usage directly from the `Route`. If you need to provide a non `UTF-8` (ie, a binary resource) you may look for `--resource` flag instead.
 
@@ -63,7 +63,7 @@ You can see that we're expecting to use a _my-configmap-key_ file stored somewhe
 kamel run --config configmap:my-cm config-configmap-route.groovy --dev
 ----
 
-As soon as the `Integration` starts, the `Camel-K` operator will take care to mount a volume with the `Configmap`'s content.
+As soon as the `Integration` starts, the `Camel K` operator will take care to mount a volume with the `Configmap`'s content.
 
 NOTE: you can provide a `Configmap` which is not yet available on the cluster. The `Integration` won't start until the resource will be made available.
 
@@ -95,7 +95,7 @@ You can see that we're expecting to use a _my-secret-key_ file stored somewhere
 kamel run --config secret:my-sec config-secret-route.groovy --dev
 ----
 
-As soon as the `Integration` starts, the `Camel-K` operator will take care to mount a volume with the `Secret`'s content.
+As soon as the `Integration` starts, the `Camel K` operator will take care to mount a volume with the `Secret`'s content.
 
 NOTE: you can provide a `Secret` which is not yet available on the cluster. The `Integration` won't start until the resource will be made available.
 
@@ -163,4 +163,4 @@ You may check in the `Integration` `Pod` that only the _my-secret-key-2_ file ha
 [[runtime-config-resources]]
 == Runtime resources
 
-If you're looking for *runtime resources* (ie, binary resources) you can look at the xref:configuration/runtime-resources.adoc[runtime resources] section.
\ No newline at end of file
+If you're looking for *runtime resources* (ie, binary resources) you can look at the xref:configuration/runtime-resources.adoc[runtime resources] section.
diff --git a/docs/modules/ROOT/pages/configuration/runtime-resources.adoc b/docs/modules/ROOT/pages/configuration/runtime-resources.adoc
index 00a6679..8037c63 100644
--- a/docs/modules/ROOT/pages/configuration/runtime-resources.adoc
+++ b/docs/modules/ROOT/pages/configuration/runtime-resources.adoc
@@ -1,7 +1,7 @@
 [[runtime-resources]]
 = Runtime resources
 
-When you develop an integration with `Camel-K` there are many ways you can provide a *resource* to the runtime `Integration`. The most familiar way is to handle local file, but since we are dealing with `Kubernetes` you may need also to use `Configmap` or `Secret`. The `kamel run` command is provided with a `--resource` flag that help you setting any resource your `Integration` may need.
+When you develop an integration with `Camel K` there are many ways you can provide a *resource* to the runtime `Integration`. The most familiar way is to handle local file, but since we are dealing with `Kubernetes` you may need also to use `Configmap` or `Secret`. The `kamel run` command is provided with a `--resource` flag that help you setting any resource your `Integration` may need.
 
 The *runtime resources* are expected to be any resource type (text or binary content). These resources are materialized as files in the `Ìntegration` `Pod`. The destination path can be either a default location or any path specified by the user. Only default resource directory is available within the `Ìntegration` classpath.
 
@@ -58,7 +58,7 @@ You can see that we're expecting to use a _my-configmap-key_ file stored in the
 kamel run --resource configmap:my-cm resource-configmap-route.groovy --dev
 ----
 
-As soon as the `Integration` starts, the `Camel-K` operator will take care to mount a volume with the `Configmap`'s content.
+As soon as the `Integration` starts, the `Camel K` operator will take care to mount a volume with the `Configmap`'s content.
 
 NOTE: you can provide a `Configmap` which is not yet available on the cluster. The `Integration` won't start until the resource will be made available.
 
@@ -88,7 +88,7 @@ You can see that we're expecting to use a _my-secret-key_ file stored in the def
 kamel run --resource secret:my-sec resource-secret-route.groovy --dev
 ----
 
-As soon as the `Integration` starts, the `Camel-K` operator will take care to mount a volume with the `Secret`'s content.
+As soon as the `Integration` starts, the `Camel K` operator will take care to mount a volume with the `Secret`'s content.
 
 NOTE: you can provide a `Secret` which is not yet available on the cluster. The `Integration` won't start until the resource will be made available.
 
@@ -145,4 +145,4 @@ You may check in the `Integration` `Pod` that only the _test.txt_ file has been
 [[runtime-resources-config]]
 == Runtime config
 
-If you're looking for *runtime configuration* you can look at the xref:configuration/runtime-config.adoc[runtime configuration] section.
\ No newline at end of file
+If you're looking for *runtime configuration* you can look at the xref:configuration/runtime-config.adoc[runtime configuration] section.
diff --git a/docs/modules/ROOT/pages/index.adoc b/docs/modules/ROOT/pages/index.adoc
index cae681b..79f959a 100644
--- a/docs/modules/ROOT/pages/index.adoc
+++ b/docs/modules/ROOT/pages/index.adoc
@@ -46,11 +46,11 @@ Continue reading the documentation to xref:installation/installation.adoc[instal
 == Compatibility Matrix
 
 [caption=]
-.Compatibility between Camel-K and dependencies
+.Compatibility between Camel K and dependencies
 [width="100%",cols="4,2,2,2,2,2,2,1,3",options="header"]
 |===
-|Camel-K Version
-|Camel-K-Runtime version
+|Camel K Version
+|Camel K Runtime version
 |Camel Version
 |Camel-Quarkus Version
 |Quarkus Version
diff --git a/docs/modules/ROOT/pages/kamelets/kamelets-dev.adoc b/docs/modules/ROOT/pages/kamelets/kamelets-dev.adoc
index ef51466..00a12f6 100644
--- a/docs/modules/ROOT/pages/kamelets/kamelets-dev.adoc
+++ b/docs/modules/ROOT/pages/kamelets/kamelets-dev.adoc
@@ -1292,7 +1292,7 @@ Feature: Kamelet earthquake-source works
   Background:
     Given Disable auto removal of Kamelet resources
     Given Disable auto removal of Kubernetes resources
-    Given Camel-K resource polling configuration
+    Given Camel K resource polling configuration
       | maxAttempts          | 60   |
       | delayBetweenAttempts | 3000 |
 
@@ -1301,7 +1301,7 @@ Feature: Kamelet earthquake-source works
     And bind Kamelet earthquake-source to uri http://test-service.${YAKS_NAMESPACE}.svc.cluster.local/test
     When create KameletBinding earthquake-source-uri
     Then KameletBinding earthquake-source-uri should be available
-    And Camel-K integration earthquake-source-uri should be running
+    And Camel K integration earthquake-source-uri should be running
 
   Scenario: Verify binding
     Given HTTP server "test-service"
@@ -1384,7 +1384,7 @@ Feature: Kamelet telegram-sink works
   Background:
     Given Disable auto removal of Kamelet resources
     Given Disable auto removal of Kubernetes resources
-    Given Camel-K resource polling configuration
+    Given Camel K resource polling configuration
       | maxAttempts          | 60   |
       | delayBetweenAttempts | 3000 |
 
@@ -1393,7 +1393,7 @@ Feature: Kamelet telegram-sink works
     Given load variables telegram-credentials.properties
     And load KameletBinding webhook-to-telegram.yaml
     Then KameletBinding webhook-to-telegram should be available
-    And Camel-K integration webhook-to-telegram should be running
+    And Camel K integration webhook-to-telegram should be running
 
 
   Scenario: Send a message to the Telegram Chat
diff --git a/e2e/upgrade/olm_upgrade_test.go b/e2e/upgrade/olm_upgrade_test.go
index a2ff240..fe0d25f 100644
--- a/e2e/upgrade/olm_upgrade_test.go
+++ b/e2e/upgrade/olm_upgrade_test.go
@@ -38,7 +38,6 @@ import (
 	"github.com/operator-framework/api/pkg/lib/version"
 	olm "github.com/operator-framework/api/pkg/operators/v1alpha1"
 
-	. "github.com/apache/camel-k/e2e/support"
 	v1 "github.com/apache/camel-k/pkg/apis/camel/v1"
 	"github.com/apache/camel-k/pkg/util/defaults"
 )
@@ -79,7 +78,7 @@ func TestOLMAutomaticUpgrade(t *testing.T) {
 
 		Expect(Kamel(args...).Execute()).To(Succeed())
 
-		// Find the only one Camel-K CSV
+		// Find the only one Camel K CSV
 		noAdditionalConditions := func(csv olm.ClusterServiceVersion) bool {
 			return true
 		}
@@ -92,7 +91,7 @@ func TestOLMAutomaticUpgrade(t *testing.T) {
 		var newCSVVersion version.OperatorVersion
 
 		// IntegrationPlatform should match at least on the version prefix
-		// CSV patch version can be increased with the OperatorHub respin of the same Camel-K release
+		// CSV patch version can be increased with the OperatorHub respin of the same Camel K release
 		var prevIPVersionPrefix string
 		var newIPVersionPrefix string
 
@@ -120,7 +119,7 @@ func TestOLMAutomaticUpgrade(t *testing.T) {
 			Expect(createOrUpdateCatalogSource(ns, catalogSourceName, newIIB)).To(Succeed())
 
 			if crossChannelUpgrade {
-				t.Log("Patching Camel-K OLM subscription channel.")
+				t.Log("Patching Camel K OLM subscription channel.")
 				subscription, err := getSubscription(ns)
 				Expect(err).To(BeNil())
 				Expect(subscription).NotTo(BeNil())
diff --git a/e2e/yaks/common/apache-kamelet-catalog/kamelet.feature b/e2e/yaks/common/apache-kamelet-catalog/kamelet.feature
index 46618d7..d3ebb27 100644
--- a/e2e/yaks/common/apache-kamelet-catalog/kamelet.feature
+++ b/e2e/yaks/common/apache-kamelet-catalog/kamelet.feature
@@ -1,10 +1,10 @@
 Feature: Camel K can run Kamelets from default catalog
 
   Background:
-    Given Camel-K resource polling configuration
+    Given Camel K resource polling configuration
       | maxAttempts          | 40   |
       | delayBetweenAttempts | 3000 |
 
   Scenario: Integrations can use default catalog
-    Given Camel-K integration logger is running
-    Then Camel-K integration logger should print Camel K
+    Given Camel K integration logger is running
+    Then Camel K integration logger should print Camel K
diff --git a/e2e/yaks/common/kamelet-beans/kamelet.feature b/e2e/yaks/common/kamelet-beans/kamelet.feature
index 97e5c0d..892f534 100644
--- a/e2e/yaks/common/kamelet-beans/kamelet.feature
+++ b/e2e/yaks/common/kamelet-beans/kamelet.feature
@@ -3,7 +3,7 @@ Feature: Kamelets can declare local beans
   Background:
     Given Disable auto removal of Kamelet resources
     Given Disable auto removal of Kubernetes resources
-    Given Camel-K resource polling configuration
+    Given Camel K resource polling configuration
       | maxAttempts          | 40   |
       | delayBetweenAttempts | 3000 |
 
@@ -11,5 +11,5 @@ Feature: Kamelets can declare local beans
     Given bind Kamelet beans-source to uri log:info
     When create KameletBinding binding
     Then KameletBinding binding should be available
-    Then Camel-K integration binding should be running
-    Then Camel-K integration binding should print Bean time is 0!
+    Then Camel K integration binding should be running
+    Then Camel K integration binding should print Bean time is 0!
diff --git a/e2e/yaks/common/kamelet-binding-autoload/kamelet-autoload-specific.feature b/e2e/yaks/common/kamelet-binding-autoload/kamelet-autoload-specific.feature
index 608c7d0..b3fe929 100644
--- a/e2e/yaks/common/kamelet-binding-autoload/kamelet-autoload-specific.feature
+++ b/e2e/yaks/common/kamelet-binding-autoload/kamelet-autoload-specific.feature
@@ -3,7 +3,7 @@ Feature: Camel K can load specific secrets for Kamelets
   Background:
     Given Disable auto removal of Kamelet resources
     Given Disable auto removal of Kubernetes resources
-    Given Camel-K resource polling configuration
+    Given Camel K resource polling configuration
       | maxAttempts          | 40   |
       | delayBetweenAttempts | 3000 |
 
diff --git a/e2e/yaks/common/kamelet-binding-autoload/kamelet-autoload.feature b/e2e/yaks/common/kamelet-binding-autoload/kamelet-autoload.feature
index 3662acd..d5cc6ba 100644
--- a/e2e/yaks/common/kamelet-binding-autoload/kamelet-autoload.feature
+++ b/e2e/yaks/common/kamelet-binding-autoload/kamelet-autoload.feature
@@ -3,7 +3,7 @@ Feature: Camel K can load default secrets for Kamelets
   Background:
     Given Disable auto removal of Kamelet resources
     Given Disable auto removal of Kubernetes resources
-    Given Camel-K resource polling configuration
+    Given Camel K resource polling configuration
       | maxAttempts          | 40   |
       | delayBetweenAttempts | 3000 |
 
diff --git a/e2e/yaks/common/kamelet-binding-broker/kamelet.feature b/e2e/yaks/common/kamelet-binding-broker/kamelet.feature
index afd7a0c..539416e 100644
--- a/e2e/yaks/common/kamelet-binding-broker/kamelet.feature
+++ b/e2e/yaks/common/kamelet-binding-broker/kamelet.feature
@@ -1,10 +1,10 @@
 Feature: Camel K can bind Kamelets to the broker
 
   Background:
-    Given Camel-K resource polling configuration
+    Given Camel K resource polling configuration
       | maxAttempts          | 40   |
       | delayBetweenAttempts | 3000 |
 
   Scenario: Sending event to the broker with KameletBinding
-    Given Camel-K integration logger-sink-binding is running
-    Then Camel-K integration logger-sink-binding should print message: Hello Custom Event
+    Given Camel K integration logger-sink-binding is running
+    Then Camel K integration logger-sink-binding should print message: Hello Custom Event
diff --git a/e2e/yaks/common/kamelet-binding-http/kamelet.feature b/e2e/yaks/common/kamelet-binding-http/kamelet.feature
index 4430823..07a1ed6 100644
--- a/e2e/yaks/common/kamelet-binding-http/kamelet.feature
+++ b/e2e/yaks/common/kamelet-binding-http/kamelet.feature
@@ -1,11 +1,11 @@
 Feature: Camel K can bind Kamelets via HTTP
 
   Background:
-    Given Camel-K resource polling configuration
+    Given Camel K resource polling configuration
       | maxAttempts          | 40   |
       | delayBetweenAttempts | 3000 |
 
   Scenario: Binding to a HTTP URI should use CloudEvents
-    Given Camel-K integration display is running
-    Then Camel-K integration display should print type: org.apache.camel.event
-    Then Camel-K integration display should print Hello
+    Given Camel K integration display is running
+    Then Camel K integration display should print type: org.apache.camel.event
+    Then Camel K integration display should print Hello
diff --git a/e2e/yaks/common/kamelet-binding-property-encoding/properties.feature b/e2e/yaks/common/kamelet-binding-property-encoding/properties.feature
index 1d7f795..c3afc63 100644
--- a/e2e/yaks/common/kamelet-binding-property-encoding/properties.feature
+++ b/e2e/yaks/common/kamelet-binding-property-encoding/properties.feature
@@ -3,13 +3,13 @@ Feature: Ensure that Kamelets support multiline configuration
   Background:
     Given Disable auto removal of Kamelet resources
     Given Disable auto removal of Kubernetes resources
-    Given Camel-K resource polling configuration
+    Given Camel K resource polling configuration
       | maxAttempts          | 60   |
       | delayBetweenAttempts | 3000 |
 
   Scenario: Wait for binding to start
     Given create Kubernetes service probe-service with target port 8080
-    Then Camel-K integration properties-binding should be running
+    Then Camel K integration properties-binding should be running
 
   Scenario: Verify binding
     Given HTTP server "probe-service"
diff --git a/e2e/yaks/common/kamelet-binding/kamelet.feature b/e2e/yaks/common/kamelet-binding/kamelet.feature
index 3cf7775..107a80c 100644
--- a/e2e/yaks/common/kamelet-binding/kamelet.feature
+++ b/e2e/yaks/common/kamelet-binding/kamelet.feature
@@ -1,10 +1,10 @@
 Feature: Camel K can bind Kamelets
 
   Background:
-    Given Camel-K resource polling configuration
+    Given Camel K resource polling configuration
       | maxAttempts          | 40   |
       | delayBetweenAttempts | 3000 |
 
   Scenario: Running integration using a simple Kamelet with KameletBinding
-    Given Camel-K integration logger-sink-binding is running
-    Then Camel-K integration logger-sink-binding should print message: Hello Kamelets
+    Given Camel K integration logger-sink-binding is running
+    Then Camel K integration logger-sink-binding should print message: Hello Kamelets
diff --git a/e2e/yaks/common/kamelet-no-properties/kamelet-no-props.feature b/e2e/yaks/common/kamelet-no-properties/kamelet-no-props.feature
index 29ab6d6..17a0104 100644
--- a/e2e/yaks/common/kamelet-no-properties/kamelet-no-props.feature
+++ b/e2e/yaks/common/kamelet-no-properties/kamelet-no-props.feature
@@ -1,9 +1,9 @@
 Feature: Kamelet may have no properties
 
   Background:
-    Given Disable auto removal of Camel-K resources
+    Given Disable auto removal of Camel K resources
     Given Disable auto removal of Kamelet resources
-    Given Camel-K resource polling configuration
+    Given Camel K resource polling configuration
       | maxAttempts          | 40   |
       | delayBetweenAttempts | 3000 |
 
@@ -25,5 +25,5 @@ from:
     And bind Kamelet no-props-source to uri log:info
     When create KameletBinding no-props-source-uri
     Then KameletBinding no-props-source-uri should be available
-    Then Camel-K integration no-props-source-uri should be running
-    Then Camel-K integration no-props-source-uri should print Hello World
+    Then Camel K integration no-props-source-uri should be running
+    Then Camel K integration no-props-source-uri should print Hello World
diff --git a/e2e/yaks/common/kamelet-steps/steps-binding.feature b/e2e/yaks/common/kamelet-steps/steps-binding.feature
index 4166cf4..a9980cf 100644
--- a/e2e/yaks/common/kamelet-steps/steps-binding.feature
+++ b/e2e/yaks/common/kamelet-steps/steps-binding.feature
@@ -1,10 +1,10 @@
 Feature: KameletBindings can have multiple processing steps
 
   Background:
-    Given Camel-K resource polling configuration
+    Given Camel K resource polling configuration
       | maxAttempts          | 40   |
       | delayBetweenAttempts | 3000 |
 
   Scenario: Data is transformed by the steps
-    Given Camel-K integration steps-binding is running
-    Then Camel-K integration steps-binding should print Hello Apache Camel
+    Given Camel K integration steps-binding is running
+    Then Camel K integration steps-binding should print Hello Apache Camel
diff --git a/e2e/yaks/common/kamelet/kamelet.feature b/e2e/yaks/common/kamelet/kamelet.feature
index 5e2c896..56ca189 100644
--- a/e2e/yaks/common/kamelet/kamelet.feature
+++ b/e2e/yaks/common/kamelet/kamelet.feature
@@ -1,10 +1,10 @@
 Feature: Camel K can run Kamelets
 
   Background:
-    Given Camel-K resource polling configuration
+    Given Camel K resource polling configuration
       | maxAttempts          | 40   |
       | delayBetweenAttempts | 3000 |
 
   Scenario: Integrations can use multiple kamelets
-    Given Camel-K integration source-sink is running
-    Then Camel-K integration source-sink should print nice echo: Camel K
+    Given Camel K integration source-sink is running
+    Then Camel K integration source-sink should print nice echo: Camel K
diff --git a/e2e/yaks/common/knative-broker/knative-broker.feature b/e2e/yaks/common/knative-broker/knative-broker.feature
index e3ce423..d7ed101 100644
--- a/e2e/yaks/common/knative-broker/knative-broker.feature
+++ b/e2e/yaks/common/knative-broker/knative-broker.feature
@@ -3,14 +3,14 @@ Feature: Camel K can correctly filter messages from broker
   Background:
     Given create Knative broker default
     Given Knative broker default is running
-    Given Disable auto removal of Camel-K resources
+    Given Disable auto removal of Camel K resources
     Given Disable auto removal of Kubernetes resources
-    Given Camel-K resource polling configuration
+    Given Camel K resource polling configuration
       | maxAttempts          | 60   |
       | delayBetweenAttempts | 3000 |
 
   Scenario: Integration sends messages to the broker
-    Given create Camel-K integration sender.groovy
+    Given create Camel K integration sender.groovy
     """
     from('timer:tick?period=1000')
       .setBody().constant('event-1')
@@ -24,11 +24,11 @@ Feature: Camel K can correctly filter messages from broker
       .setBody().constant('event-all')
       .to('knative:event')
     """
-    Then Camel-K integration sender should be running
+    Then Camel K integration sender should be running
 
 
   Scenario: Integration receives the correct messages from the broker
-    Given create Camel-K integration receiver.groovy
+    Given create Camel K integration receiver.groovy
     """
     from('knative:event/evt1')
       .log('From evt1: $simple{body}')
@@ -39,15 +39,15 @@ Feature: Camel K can correctly filter messages from broker
     from('knative:event')
       .log('From all: $simple{body}')
     """
-    Then Camel-K integration receiver should be running
-    And Camel-K integration receiver should print From evt1: event-1
-    And Camel-K integration receiver should print From evt2: event-2
-    And Camel-K integration receiver should print From all: event-1
-    And Camel-K integration receiver should print From all: event-2
-    And Camel-K integration receiver should print From all: event-all
-    And Camel-K integration receiver should not print From evt1: event-2
-    And Camel-K integration receiver should not print From evt1: event-all
-    And Camel-K integration receiver should not print From evt2: event-1
-    And Camel-K integration receiver should not print From evt2: event-all
-    And delete Camel-K integration sender
-    And delete Camel-K integration receiver
+    Then Camel K integration receiver should be running
+    And Camel K integration receiver should print From evt1: event-1
+    And Camel K integration receiver should print From evt2: event-2
+    And Camel K integration receiver should print From all: event-1
+    And Camel K integration receiver should print From all: event-2
+    And Camel K integration receiver should print From all: event-all
+    And Camel K integration receiver should not print From evt1: event-2
+    And Camel K integration receiver should not print From evt1: event-all
+    And Camel K integration receiver should not print From evt2: event-1
+    And Camel K integration receiver should not print From evt2: event-all
+    And delete Camel K integration sender
+    And delete Camel K integration receiver
diff --git a/e2e/yaks/common/knative-sinkbinding/sinkbinding.feature b/e2e/yaks/common/knative-sinkbinding/sinkbinding.feature
index 6af9673..e51e85a 100644
--- a/e2e/yaks/common/knative-sinkbinding/sinkbinding.feature
+++ b/e2e/yaks/common/knative-sinkbinding/sinkbinding.feature
@@ -1,10 +1,10 @@
 Feature: Camel K can run source in sinkbinding mode
 
   Background:
-    Given Camel-K resource polling configuration
+    Given Camel K resource polling configuration
       | maxAttempts          | 40   |
       | delayBetweenAttempts | 3000 |
 
   Scenario: Integration gets the message from the sinkbinding source
-    Given Camel-K integration receiver is running
-    Then Camel-K integration receiver should print HELLO SINKBINDING
+    Given Camel K integration receiver is running
+    Then Camel K integration receiver should print HELLO SINKBINDING
diff --git a/e2e/yaks/openshift/monitoring/alerting.feature b/e2e/yaks/openshift/monitoring/alerting.feature
index 80b9239..3a57509 100644
--- a/e2e/yaks/openshift/monitoring/alerting.feature
+++ b/e2e/yaks/openshift/monitoring/alerting.feature
@@ -1,11 +1,11 @@
-Feature: Alerts from Camel-K are propagated to Openshift Prometheus
+Feature: Alerts from Camel K are propagated to Openshift Prometheus
 
   Background: Prepare Thanos-ruler URL
     Given URL: https://thanos-ruler.openshift-user-workload-monitoring:9091
 
   Scenario: Integration gets the message from the timer
-    Given Camel-K integration metrics is running
-    Then Camel-K integration metrics should print Successfully processed
+    Given Camel K integration metrics is running
+    Then Camel K integration metrics should print Successfully processed
     Then sleep 120000 ms
 
   Scenario: Thanos-ruler is able to serve alerts based on metrics from Operator
@@ -13,4 +13,4 @@ Feature: Alerts from Camel-K are propagated to Openshift Prometheus
     When send GET /api/v1/rules
     Then verify HTTP response expressions
       | $..rules[?(@.labels.namespace == '${YAKS_NAMESPACE}' && @.state == 'firing')].name | CamelKBuildFailure |
-    And receive HTTP 200
\ No newline at end of file
+    And receive HTTP 200
diff --git a/e2e/yaks/openshift/monitoring/metrics.feature b/e2e/yaks/openshift/monitoring/metrics.feature
index e4657b0..e096f55 100644
--- a/e2e/yaks/openshift/monitoring/metrics.feature
+++ b/e2e/yaks/openshift/monitoring/metrics.feature
@@ -4,8 +4,8 @@ Feature: Camel K can serve metrics to Prometheus
     Given URL: https://thanos-querier.openshift-monitoring:9091
 
   Scenario: Integration gets the message from the timer
-    Given Camel-K integration metrics is running
-    Then Camel-K integration metrics should print Successfully processed
+    Given Camel K integration metrics is running
+    Then Camel K integration metrics should print Successfully processed
     Then sleep 120000 ms
 
   Scenario: Thanos is able to serve custom microprofile annotation metrics
@@ -46,4 +46,4 @@ Feature: Camel K can serve metrics to Prometheus
       | $.data.result[?(@.metric.namespace == '${YAKS_NAMESPACE}')].metric.__name__ | camel_k_integration_first_readiness_seconds_sum |
       | $.data.result[?(@.metric.namespace == '${YAKS_NAMESPACE}')].metric.pod      | @startsWith('camel-k-operator')@                |
       | $.data.result[?(@.metric.namespace == '${YAKS_NAMESPACE}')].value[1]        | @greaterThan(5)@                               |
-    And receive HTTP 200
\ No newline at end of file
+    And receive HTTP 200
diff --git a/helm/camel-k/README.md b/helm/camel-k/README.md
index e1bed17..17753d5 100644
--- a/helm/camel-k/README.md
+++ b/helm/camel-k/README.md
@@ -69,7 +69,7 @@ The command removes all the Kubernetes resources installed.
 ## Configuration
 
 The following table lists the most commonly configured parameters of the
-Camel-K chart and their default values. The chart allows configuration of an `IntegrationPlatform` resource, which among others includes build properties and traits configuration. A full list of parameters can be found [in the operator specification][1].
+Camel K chart and their default values. The chart allows configuration of an `IntegrationPlatform` resource, which among others includes build properties and traits configuration. A full list of parameters can be found [in the operator specification][1].
 
 |           Parameter                    |             Description                                                   |            Default             |
 |----------------------------------------|---------------------------------------------------------------------------|--------------------------------|
diff --git a/pkg/cmd/local_run.go b/pkg/cmd/local_run.go
index fd6c8db..696704a 100644
--- a/pkg/cmd/local_run.go
+++ b/pkg/cmd/local_run.go
@@ -191,7 +191,7 @@ func (command *localRunCmdOptions) run(cmd *cobra.Command, args []string) error
 			return err
 		}
 
-		// The Camel-K jar file needs to be at a specific location i.e.:
+		// The Camel K jar file needs to be at a specific location i.e.:
 		// <current_working_folder>/app/camel-k-integration-X.X.X{-SNAPSHOT}.jar
 		localAppDirectory, err := getCustomAppDir()
 		if err != nil {
diff --git a/release.adoc b/release.adoc
index 9982c0d..29a338d 100644
--- a/release.adoc
+++ b/release.adoc
@@ -265,9 +265,9 @@ Wait for them to be available on https://hub.helm.sh/.
 
 === Homebrew
 
-The https://brew.sh/[HomeBrew] formula for _kamel_ must be synced to download and build the latest version of https://github.com/apache/camel-k[Camel-K], so it can be easily installed on _macOs_ and _Linux_ platforms.
+The https://brew.sh/[HomeBrew] formula for _kamel_ must be synced to download and build the latest version of https://github.com/apache/camel-k[Camel K], so it can be easily installed on _macOs_ and _Linux_ platforms.
 
-To do so, the content of https://github.com/Homebrew/homebrew-core/blob/master/Formula/kamel.rb[homebrew-core/Formula/kamel.rb] _(the package definition)_ should be updated to point the latest release of https://github.com/apache/camel-k[Camel-K].
+To do so, the content of https://github.com/Homebrew/homebrew-core/blob/master/Formula/kamel.rb[homebrew-core/Formula/kamel.rb] _(the package definition)_ should be updated to point the latest release of https://github.com/apache/camel-k[Camel K].
 
 More importantly the _tag_ and _revision_ section configuration should change for a new release e.g
 ```

[camel-k] 03/18: chore(api): Remove Timeout in MavenSpec

Posted by pc...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit b772eb26b90394961e551f544db9de5afbc1d339
Author: Pasquale Congiusti <pa...@gmail.com>
AuthorDate: Mon Jan 24 11:24:11 2022 +0100

    chore(api): Remove Timeout in MavenSpec
    
    Ref #2751
---
 config/crd/bases/camel.apache.org_builds.yaml               | 4 ----
 config/crd/bases/camel.apache.org_integrationplatforms.yaml | 8 --------
 docs/modules/ROOT/partials/apis/camel-k-crds.adoc           | 7 -------
 docs/modules/traits/pages/master.adoc                       | 8 ++------
 helm/camel-k/crds/crd-build.yaml                            | 4 ----
 helm/camel-k/crds/crd-integration-platform.yaml             | 8 --------
 pkg/apis/camel/v1/maven_types.go                            | 3 ---
 pkg/apis/camel/v1/zz_generated.deepcopy.go                  | 5 -----
 resources/traits.yaml                                       | 9 +++------
 9 files changed, 5 insertions(+), 51 deletions(-)

diff --git a/config/crd/bases/camel.apache.org_builds.yaml b/config/crd/bases/camel.apache.org_builds.yaml
index 19d90c8..3f1f5bd 100644
--- a/config/crd/bases/camel.apache.org_builds.yaml
+++ b/config/crd/bases/camel.apache.org_builds.yaml
@@ -278,10 +278,6 @@ spec:
                                   - key
                                   type: object
                               type: object
-                            timeout:
-                              description: 'Deprecated: use IntegrationPlatform.Spec.Build.Timeout
-                                instead'
-                              type: string
                           type: object
                         name:
                           type: string
diff --git a/config/crd/bases/camel.apache.org_integrationplatforms.yaml b/config/crd/bases/camel.apache.org_integrationplatforms.yaml
index 217399c..830347f 100644
--- a/config/crd/bases/camel.apache.org_integrationplatforms.yaml
+++ b/config/crd/bases/camel.apache.org_integrationplatforms.yaml
@@ -178,10 +178,6 @@ spec:
                             - key
                             type: object
                         type: object
-                      timeout:
-                        description: 'Deprecated: use IntegrationPlatform.Spec.Build.Timeout
-                          instead'
-                        type: string
                     type: object
                   persistentVolumeClaim:
                     type: string
@@ -385,10 +381,6 @@ spec:
                             - key
                             type: object
                         type: object
-                      timeout:
-                        description: 'Deprecated: use IntegrationPlatform.Spec.Build.Timeout
-                          instead'
-                        type: string
                     type: object
                   persistentVolumeClaim:
                     type: string
diff --git a/docs/modules/ROOT/partials/apis/camel-k-crds.adoc b/docs/modules/ROOT/partials/apis/camel-k-crds.adoc
index 90bbd2b..d8df047 100644
--- a/docs/modules/ROOT/partials/apis/camel-k-crds.adoc
+++ b/docs/modules/ROOT/partials/apis/camel-k-crds.adoc
@@ -2339,13 +2339,6 @@ A JKS formatted keystore is automatically created to store the CA certificate(s)
 and configured to be used as a trusted certificate(s) by the Maven commands.
 Note that the root CA certificates are also imported into the created keystore.
 
-|`timeout` +
-*https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#duration-v1-meta[Kubernetes meta/v1.Duration]*
-|
-
-
-Deprecated: use IntegrationPlatform.Spec.Build.Timeout instead
-
 |`extension` +
 *xref:#_camel_apache_org_v1_MavenArtifact[[\]MavenArtifact]*
 |
diff --git a/docs/modules/traits/pages/master.adoc b/docs/modules/traits/pages/master.adoc
index 66afead..ecf8166 100755
--- a/docs/modules/traits/pages/master.adoc
+++ b/docs/modules/traits/pages/master.adoc
@@ -41,14 +41,10 @@ The following configuration options are available:
 E.g. when using `master:lockname:timer`, then `camel:timer` is automatically added to the set of dependencies.
 It's enabled by default.
 
-| master.configmap
-| string
-| Name of the configmap that will be used to store the lock. Defaults to "<integration-name>-lock".
-Deprecated: replaced by "resource-name".
-
 | master.resource-name
 | string
-| Name of the configmap/lease resource that will be used to store the lock. Defaults to "<integration-name>-lock".
+| Name of the configmap that will be used to store the lock. Defaults to "<integration-name>-lock".
+Name of the configmap/lease resource that will be used to store the lock. Defaults to "<integration-name>-lock".
 
 | master.resource-type
 | string
diff --git a/helm/camel-k/crds/crd-build.yaml b/helm/camel-k/crds/crd-build.yaml
index 19d90c8..3f1f5bd 100644
--- a/helm/camel-k/crds/crd-build.yaml
+++ b/helm/camel-k/crds/crd-build.yaml
@@ -278,10 +278,6 @@ spec:
                                   - key
                                   type: object
                               type: object
-                            timeout:
-                              description: 'Deprecated: use IntegrationPlatform.Spec.Build.Timeout
-                                instead'
-                              type: string
                           type: object
                         name:
                           type: string
diff --git a/helm/camel-k/crds/crd-integration-platform.yaml b/helm/camel-k/crds/crd-integration-platform.yaml
index 217399c..830347f 100644
--- a/helm/camel-k/crds/crd-integration-platform.yaml
+++ b/helm/camel-k/crds/crd-integration-platform.yaml
@@ -178,10 +178,6 @@ spec:
                             - key
                             type: object
                         type: object
-                      timeout:
-                        description: 'Deprecated: use IntegrationPlatform.Spec.Build.Timeout
-                          instead'
-                        type: string
                     type: object
                   persistentVolumeClaim:
                     type: string
@@ -385,10 +381,6 @@ spec:
                             - key
                             type: object
                         type: object
-                      timeout:
-                        description: 'Deprecated: use IntegrationPlatform.Spec.Build.Timeout
-                          instead'
-                        type: string
                     type: object
                   persistentVolumeClaim:
                     type: string
diff --git a/pkg/apis/camel/v1/maven_types.go b/pkg/apis/camel/v1/maven_types.go
index bb890b0..2ba4181 100644
--- a/pkg/apis/camel/v1/maven_types.go
+++ b/pkg/apis/camel/v1/maven_types.go
@@ -19,7 +19,6 @@ package v1
 
 import (
 	corev1 "k8s.io/api/core/v1"
-	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
 )
 
 // MavenSpec --
@@ -38,8 +37,6 @@ type MavenSpec struct {
 	// and configured to be used as a trusted certificate(s) by the Maven commands.
 	// Note that the root CA certificates are also imported into the created keystore.
 	CASecret *corev1.SecretKeySelector `json:"caSecret,omitempty"`
-	// Deprecated: use IntegrationPlatform.Spec.Build.Timeout instead
-	Timeout *metav1.Duration `json:"timeout,omitempty"`
 	// The Maven build extensions.
 	// See https://maven.apache.org/guides/mini/guide-using-extensions.html.
 	Extension []MavenArtifact `json:"extension,omitempty"`
diff --git a/pkg/apis/camel/v1/zz_generated.deepcopy.go b/pkg/apis/camel/v1/zz_generated.deepcopy.go
index 69ddb11..8aa48a4 100644
--- a/pkg/apis/camel/v1/zz_generated.deepcopy.go
+++ b/pkg/apis/camel/v1/zz_generated.deepcopy.go
@@ -1276,11 +1276,6 @@ func (in *MavenSpec) DeepCopyInto(out *MavenSpec) {
 		*out = new(corev1.SecretKeySelector)
 		(*in).DeepCopyInto(*out)
 	}
-	if in.Timeout != nil {
-		in, out := &in.Timeout, &out.Timeout
-		*out = new(metav1.Duration)
-		**out = **in
-	}
 	if in.Extension != nil {
 		in, out := &in.Extension, &out.Extension
 		*out = make([]MavenArtifact, len(*in))
diff --git a/resources/traits.yaml b/resources/traits.yaml
index b52c487..c5a763c 100755
--- a/resources/traits.yaml
+++ b/resources/traits.yaml
@@ -788,14 +788,11 @@ traits:
       add dependencies required by delegate endpoints.E.g. when using `master:lockname:timer`,
       then `camel:timer` is automatically added to the set of dependencies.It's enabled
       by default.
-  - name: configmap
-    type: string
-    description: 'Name of the configmap that will be used to store the lock. Defaults
-      to "<integration-name>-lock".Deprecated: replaced by "resource-name".'
   - name: resource-name
     type: string
-    description: Name of the configmap/lease resource that will be used to store the
-      lock. Defaults to "<integration-name>-lock".
+    description: Name of the configmap that will be used to store the lock. Defaults
+      to "<integration-name>-lock".Name of the configmap/lease resource that will
+      be used to store the lock. Defaults to "<integration-name>-lock".
   - name: resource-type
     type: string
     description: Type of Kubernetes resource to use for locking ("ConfigMap" or "Lease").

[camel-k] 02/18: chore(trait/master): Remove DeprecatedConfigMap

Posted by pc...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit fee3b91bd69fc757bd1ba585190fccd86576c24c
Author: Pasquale Congiusti <pa...@gmail.com>
AuthorDate: Mon Jan 24 11:20:04 2022 +0100

    chore(trait/master): Remove DeprecatedConfigMap
    
    Ref #2751
---
 addons/master/master.go | 33 ++++++++-------------------------
 1 file changed, 8 insertions(+), 25 deletions(-)

diff --git a/addons/master/master.go b/addons/master/master.go
index e7a2d60..6acf221 100644
--- a/addons/master/master.go
+++ b/addons/master/master.go
@@ -18,7 +18,6 @@ limitations under the License.
 package master
 
 import (
-	"errors"
 	"fmt"
 	"strings"
 
@@ -51,8 +50,6 @@ type masterTrait struct {
 	// It's enabled by default.
 	IncludeDelegateDependencies *bool `property:"include-delegate-dependencies" json:"includeDelegateDependencies,omitempty"`
 	// Name of the configmap that will be used to store the lock. Defaults to "<integration-name>-lock".
-	// Deprecated: replaced by "resource-name".
-	DeprecatedConfigMap *string `property:"configmap" json:"configmap,omitempty"`
 	// Name of the configmap/lease resource that will be used to store the lock. Defaults to "<integration-name>-lock".
 	ResourceName *string `property:"resource-name" json:"resourceName,omitempty"`
 	// Type of Kubernetes resource to use for locking ("ConfigMap" or "Lease"). Defaults to "Lease".
@@ -89,10 +86,6 @@ func (t *masterTrait) Configure(e *trait.Environment) (bool, error) {
 		return false, nil
 	}
 
-	if t.DeprecatedConfigMap != nil && t.ResourceName != nil {
-		return false, errors.New(`you cannot set both the "configmap" and "resource-name" properties on the "master" trait`)
-	}
-
 	if t.Auto == nil || *t.Auto {
 		// Check if the master component has been used
 		sources, err := kubernetes.ResolveIntegrationSources(e.Ctx, t.Client, e.Integration, e.Resources)
@@ -119,27 +112,20 @@ func (t *masterTrait) Configure(e *trait.Environment) (bool, error) {
 			t.delegateDependencies = findAdditionalDependencies(e, meta)
 		}
 
-		if t.DeprecatedConfigMap != nil && t.ResourceName == nil {
-			t.ResourceName = t.DeprecatedConfigMap
-		}
 		if t.ResourceName == nil {
 			val := fmt.Sprintf("%s-lock", e.Integration.Name)
 			t.ResourceName = &val
 		}
 
 		if t.ResourceType == nil {
-			if t.DeprecatedConfigMap != nil {
-				t.ResourceType = &configMapResourceType
+			canUseLeases, err := t.canUseLeases(e)
+			if err != nil {
+				return false, err
+			}
+			if canUseLeases {
+				t.ResourceType = &leaseResourceType
 			} else {
-				canUseLeases, err := t.canUseLeases(e)
-				if err != nil {
-					return false, err
-				}
-				if canUseLeases {
-					t.ResourceType = &leaseResourceType
-				} else {
-					t.ResourceType = &configMapResourceType
-				}
+				t.ResourceType = &configMapResourceType
 			}
 		}
 
@@ -203,11 +189,8 @@ func (t *masterTrait) Apply(e *trait.Environment) error {
 			v1.ConfigurationSpec{Type: "property", Value: "customizer.master.enabled=true"},
 		)
 
-		if t.ResourceName != nil || t.DeprecatedConfigMap != nil {
+		if t.ResourceName != nil {
 			resourceName := t.ResourceName
-			if resourceName == nil {
-				resourceName = t.DeprecatedConfigMap
-			}
 			e.Integration.Status.Configuration = append(e.Integration.Status.Configuration,
 				v1.ConfigurationSpec{Type: "property", Value: fmt.Sprintf("customizer.master.kubernetesResourceName=%s", *resourceName)},
 			)

[camel-k] 17/18: fix(ci): Fix YAKS installation

Posted by pc...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 2d0a3688f1db18a3ee6c51ce406f00b6f43d192e
Author: Christoph Deppisch <cd...@redhat.com>
AuthorDate: Tue Feb 15 16:34:29 2022 +0100

    fix(ci): Fix YAKS installation
    
    Make sure to use proper image name and version on YAKS install command especially when using pinned pre-release versions.
---
 .github/actions/e2e-knative-yaks/action.yml    |  9 ++++++---
 .github/actions/e2e-knative-yaks/exec-tests.sh |  3 ---
 .github/actions/kamel-install-yaks/action.yml  | 22 +++++++++++++++++++---
 3 files changed, 25 insertions(+), 9 deletions(-)

diff --git a/.github/actions/e2e-knative-yaks/action.yml b/.github/actions/e2e-knative-yaks/action.yml
index 2659747..bd1620a 100644
--- a/.github/actions/e2e-knative-yaks/action.yml
+++ b/.github/actions/e2e-knative-yaks/action.yml
@@ -42,9 +42,6 @@ runs:
       cluster-config-data: ${{ inputs.cluster-config-data }}
       cluster-kube-config-data: ${{ inputs.cluster-kube-config-data }}
 
-  - name: Install YAKS
-    uses: ./.github/actions/kamel-install-yaks
-
   - name: Install Knative
     uses: ./.github/actions/kamel-install-knative
 
@@ -77,6 +74,12 @@ runs:
       image-registry-insecure: ${{steps.config-cluster.outputs.cluster-image-registry-insecure }}
       image-version: ${{ steps.build-kamel.outputs.build-binary-local-image-version }}
 
+  - name: Install YAKS
+    uses: ./.github/actions/kamel-install-yaks
+    with:
+      image-name: "docker.io/yaks/yaks"
+      version: 0.9.0-202202081449
+
   - id: report-problematic
     name: List Tests Marked As Problematic
     uses: ./.github/actions/kamel-report-problematic
diff --git a/.github/actions/e2e-knative-yaks/exec-tests.sh b/.github/actions/e2e-knative-yaks/exec-tests.sh
index 428018a..a5d38ae 100755
--- a/.github/actions/e2e-knative-yaks/exec-tests.sh
+++ b/.github/actions/e2e-knative-yaks/exec-tests.sh
@@ -111,8 +111,5 @@ export CAMEL_K_TEST_IMAGE_NAME=${CUSTOM_IMAGE}
 export CAMEL_K_TEST_IMAGE_VERSION=${CUSTOM_VERSION}
 export CAMEL_K_TEST_SAVE_FAILED_TEST_NAMESPACE=${SAVE_FAILED_TEST_NS}
 
-# Install Yaks globally
-yaks install
-
 # Then run integration tests
 yaks test e2e/yaks/common
diff --git a/.github/actions/kamel-install-yaks/action.yml b/.github/actions/kamel-install-yaks/action.yml
index e41cb81..2c15900 100644
--- a/.github/actions/kamel-install-yaks/action.yml
+++ b/.github/actions/kamel-install-yaks/action.yml
@@ -17,6 +17,17 @@
 
 name: kamel-install-yaks
 description: 'Install YAKS artifacts'
+
+inputs:
+  version:
+    description: "The YAKS version"
+    default: 0.8.0
+    required: false
+  image-name:
+    description: "The YAKS operator image name"
+    default: "docker.io/citrusframework/yaks"
+    required: false
+
 runs:
   using: "composite"
   steps:
@@ -24,12 +35,17 @@ runs:
       name: Get YAKS
       shell: bash
       run: |
-        export YAKS_VERSION=0.9.0-202202081449
-        curl --fail -L https://github.com/citrusframework/yaks/releases/download/${YAKS_VERSION}/yaks-${YAKS_VERSION}-linux-64bit.tar.gz -o yaks.tar.gz
+        if [ "${{ inputs.image-name }}" == "docker.io/yaks/yaks" ]; then
+            export DOWNLOAD_VERSION=${{ inputs.version }}
+        else
+            export DOWNLOAD_VERSION=v${{ inputs.version }}
+        fi
+
+        curl --fail -L https://github.com/citrusframework/yaks/releases/download/${DOWNLOAD_VERSION}/yaks-${{ inputs.version }}-linux-64bit.tar.gz -o yaks.tar.gz
         tar -zxf yaks.tar.gz
         sudo mv yaks /usr/local/bin/
 
     - name: Install YAKS
       shell: bash
       run: |
-        yaks install --cluster-setup
+        yaks install --operator-image ${{ inputs.image-name }}:${{ inputs.version }}

[camel-k] 15/18: fix(e2e): skip catalog Kamelets

Posted by pc...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit b414f2268454880ba1d1f51bdadb5634cd4fb68d
Author: Pasquale Congiusti <pa...@gmail.com>
AuthorDate: Thu Feb 17 10:50:34 2022 +0100

    fix(e2e): skip catalog Kamelets
---
 e2e/yaks/common/kamelet-binding-autoload/yaks-config.yaml          | 2 +-
 e2e/yaks/common/kamelet-binding-broker/yaks-config.yaml            | 2 +-
 e2e/yaks/common/kamelet-binding-http/yaks-config.yaml              | 2 +-
 e2e/yaks/common/kamelet-binding-property-encoding/yaks-config.yaml | 2 +-
 e2e/yaks/common/kamelet-binding/yaks-config.yaml                   | 2 +-
 e2e/yaks/common/kamelet-steps/yaks-config.yaml                     | 2 +-
 e2e/yaks/common/kamelet/yaks-config.yaml                           | 2 +-
 7 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/e2e/yaks/common/kamelet-binding-autoload/yaks-config.yaml b/e2e/yaks/common/kamelet-binding-autoload/yaks-config.yaml
index a71f271..378d23c 100644
--- a/e2e/yaks/common/kamelet-binding-autoload/yaks-config.yaml
+++ b/e2e/yaks/common/kamelet-binding-autoload/yaks-config.yaml
@@ -21,7 +21,7 @@ config:
 pre:
 - name: installation
   run: |
-    kamel install -n $YAKS_NAMESPACE
+    kamel install -n $YAKS_NAMESPACE --operator-env-vars KAMEL_INSTALL_DEFAULT_KAMELETS=false
 
     kubectl apply -f secret-default.yaml -n $YAKS_NAMESPACE
     kubectl apply -f secret-specific.yaml -n $YAKS_NAMESPACE
diff --git a/e2e/yaks/common/kamelet-binding-broker/yaks-config.yaml b/e2e/yaks/common/kamelet-binding-broker/yaks-config.yaml
index fbaf588..e1e609f 100644
--- a/e2e/yaks/common/kamelet-binding-broker/yaks-config.yaml
+++ b/e2e/yaks/common/kamelet-binding-broker/yaks-config.yaml
@@ -25,7 +25,7 @@ pre:
     oc label namespace $YAKS_NAMESPACE eventing.knative.dev/injection=enabled
     oc label namespace $YAKS_NAMESPACE knative-eventing-injection=enabled
 
-    kamel install -n $YAKS_NAMESPACE
+    kamel install -n $YAKS_NAMESPACE --operator-env-vars KAMEL_INSTALL_DEFAULT_KAMELETS=false
 
     kubectl apply -f timer-source.kamelet.yaml -n $YAKS_NAMESPACE
     kubectl apply -f logger-sink.kamelet.yaml -n $YAKS_NAMESPACE
diff --git a/e2e/yaks/common/kamelet-binding-http/yaks-config.yaml b/e2e/yaks/common/kamelet-binding-http/yaks-config.yaml
index 847d512..cf40990 100644
--- a/e2e/yaks/common/kamelet-binding-http/yaks-config.yaml
+++ b/e2e/yaks/common/kamelet-binding-http/yaks-config.yaml
@@ -21,7 +21,7 @@ config:
 pre:
 - name: installation
   run: |
-    kamel install -n $YAKS_NAMESPACE
+    kamel install -n $YAKS_NAMESPACE --operator-env-vars KAMEL_INSTALL_DEFAULT_KAMELETS=false
 
     kubectl apply -f timer-source.kamelet.yaml -n $YAKS_NAMESPACE
 
diff --git a/e2e/yaks/common/kamelet-binding-property-encoding/yaks-config.yaml b/e2e/yaks/common/kamelet-binding-property-encoding/yaks-config.yaml
index 650df12..780da97 100644
--- a/e2e/yaks/common/kamelet-binding-property-encoding/yaks-config.yaml
+++ b/e2e/yaks/common/kamelet-binding-property-encoding/yaks-config.yaml
@@ -21,7 +21,7 @@ config:
 pre:
 - name: installation
   run: |
-    kamel install -n $YAKS_NAMESPACE
+    kamel install -n $YAKS_NAMESPACE --operator-env-vars KAMEL_INSTALL_DEFAULT_KAMELETS=false
 
     kubectl apply -f timer-source.kamelet.yaml -n $YAKS_NAMESPACE
     kubectl apply -f properties-binding.yaml -n $YAKS_NAMESPACE
diff --git a/e2e/yaks/common/kamelet-binding/yaks-config.yaml b/e2e/yaks/common/kamelet-binding/yaks-config.yaml
index a75bafe..9767a24 100644
--- a/e2e/yaks/common/kamelet-binding/yaks-config.yaml
+++ b/e2e/yaks/common/kamelet-binding/yaks-config.yaml
@@ -21,7 +21,7 @@ config:
 pre:
 - name: installation
   run: |
-    kamel install -n $YAKS_NAMESPACE
+    kamel install -n $YAKS_NAMESPACE --operator-env-vars KAMEL_INSTALL_DEFAULT_KAMELETS=false
 
     kubectl apply -f messages-channel.yaml -n $YAKS_NAMESPACE
 
diff --git a/e2e/yaks/common/kamelet-steps/yaks-config.yaml b/e2e/yaks/common/kamelet-steps/yaks-config.yaml
index 7466b88..54886a4 100644
--- a/e2e/yaks/common/kamelet-steps/yaks-config.yaml
+++ b/e2e/yaks/common/kamelet-steps/yaks-config.yaml
@@ -21,7 +21,7 @@ config:
 pre:
 - name: installation
   run: |
-    kamel install -n $YAKS_NAMESPACE
+    kamel install -n $YAKS_NAMESPACE --operator-env-vars KAMEL_INSTALL_DEFAULT_KAMELETS=false
 
     kubectl apply -f timer-source.kamelet.yaml -n $YAKS_NAMESPACE
     kubectl apply -f prefix-action.kamelet.yaml -n $YAKS_NAMESPACE
diff --git a/e2e/yaks/common/kamelet/yaks-config.yaml b/e2e/yaks/common/kamelet/yaks-config.yaml
index 6ff2355..dd94f10 100644
--- a/e2e/yaks/common/kamelet/yaks-config.yaml
+++ b/e2e/yaks/common/kamelet/yaks-config.yaml
@@ -21,7 +21,7 @@ config:
 pre:
 - name: installation
   run: |
-    kamel install -n $YAKS_NAMESPACE
+    kamel install -n $YAKS_NAMESPACE --operator-env-vars KAMEL_INSTALL_DEFAULT_KAMELETS=false
 
     kubectl apply -f timer-source.kamelet.yaml -n $YAKS_NAMESPACE
     kubectl apply -f echo-sink.kamelet.yaml -n $YAKS_NAMESPACE

[camel-k] 06/18: chore: Remove NewFilteredSharedInformerFactory Ref #2751

Posted by pc...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 89a2222ac1ba711a0e11c1bfbc33b444a4ad994c
Author: Pasquale Congiusti <pa...@gmail.com>
AuthorDate: Mon Jan 24 12:54:15 2022 +0100

    chore: Remove NewFilteredSharedInformerFactory
     Ref #2751
---
 pkg/client/camel/informers/externalversions/factory.go | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/pkg/client/camel/informers/externalversions/factory.go b/pkg/client/camel/informers/externalversions/factory.go
index d2344c0..7ac9088 100644
--- a/pkg/client/camel/informers/externalversions/factory.go
+++ b/pkg/client/camel/informers/externalversions/factory.go
@@ -81,14 +81,6 @@ func NewSharedInformerFactory(client versioned.Interface, defaultResync time.Dur
 	return NewSharedInformerFactoryWithOptions(client, defaultResync)
 }
 
-// NewFilteredSharedInformerFactory constructs a new instance of sharedInformerFactory.
-// Listers obtained via this SharedInformerFactory will be subject to the same filters
-// as specified here.
-// Deprecated: Please use NewSharedInformerFactoryWithOptions instead
-func NewFilteredSharedInformerFactory(client versioned.Interface, defaultResync time.Duration, namespace string, tweakListOptions internalinterfaces.TweakListOptionsFunc) SharedInformerFactory {
-	return NewSharedInformerFactoryWithOptions(client, defaultResync, WithNamespace(namespace), WithTweakListOptions(tweakListOptions))
-}
-
 // NewSharedInformerFactoryWithOptions constructs a new instance of a SharedInformerFactory with additional options.
 func NewSharedInformerFactoryWithOptions(client versioned.Interface, defaultResync time.Duration, options ...SharedInformerOption) SharedInformerFactory {
 	factory := &sharedInformerFactory{