Skip to content

Commit

Permalink
doc: camel k runtime local instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
squakez authored and astefanutti committed Feb 9, 2021
1 parent e8be6b7 commit 712d8dd
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion docs/modules/ROOT/pages/contributing/local-development.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,13 @@ kubectl port-forward --namespace kube-system registry-fttbv 5000:5000
./kamel install --skip-operator-setup -n operator-test --registry localhost:5000 --force
----

A similar procedure may work if you use other local environments. The idea is to expose the docker registry and be able to use it from your local operator.
A similar procedure may work if you use other local environments. The idea is to expose the docker registry and be able to use it from your local operator.

=== Local Camel K runtime

Camel K integrations are based on https://github.com/apache/camel-k-runtime[Camel K runtime], generally paired with the operator release. If you need to specify a different runtime, or you have a local Camel K runtime that you want to test, then you will need to specify it in the `Integration Platform`:
----
./kamel install --skip-operator-setup -n operator-test --registry localhost:5000 --force --runtime-version 1.7.0-SNAPSHOT
----

With the above instructions, the operator will pick up and use the snapshot version you have released locally.

0 comments on commit 712d8dd

Please sign in to comment.