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

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


The following commit(s) were added to refs/heads/main by this push:
     new 28090c3  doc(dev): add instruction for deploying custom images to 
remote clusters
28090c3 is described below

commit 28090c3218127e667f039b586b7373421ea8c616
Author: Tadayoshi Sato <sato.tadayo...@gmail.com>
AuthorDate: Thu May 27 16:38:03 2021 +0900

    doc(dev): add instruction for deploying custom images to remote clusters
---
 docs/modules/ROOT/pages/contributing/developers.adoc | 15 +++++++++++++--
 1 file changed, 13 insertions(+), 2 deletions(-)

diff --git a/docs/modules/ROOT/pages/contributing/developers.adoc 
b/docs/modules/ROOT/pages/contributing/developers.adoc
index 58e40c4..cfad1c4 100644
--- a/docs/modules/ROOT/pages/contributing/developers.adoc
+++ b/docs/modules/ROOT/pages/contributing/developers.adoc
@@ -74,11 +74,11 @@ After a successful build, if you're connected to a Docker 
daemon, you can build
 make images
 ----
 
-The above command produces a `camel-k` image with the name 
`docker.io/apache/camel-k`. Sometimes you might need to produce camel-k images 
that need to be pushed to the custom repository e.g. 
`docker.io/myrepo/camel-k`, to do that you can pass a parameter 
`imgDestination` to the make as shown below:
+The above command produces a `camel-k` image with the name 
`docker.io/apache/camel-k`. Sometimes you might need to produce `camel-k` 
images that need to be pushed to the custom repository e.g. 
`docker.io/myrepo/camel-k`, to do that you can pass a parameter 
`STAGING_IMAGE_NAME` to `make` as shown below:
 
 [source]
 ----
-make imgDestination='docker.io/myrepo' images
+make STAGING_IMAGE_NAME='docker.io/myrepo/camel-k' images-push-staging
 ----
 
 [[testing]]
@@ -140,6 +140,17 @@ This command assumes you have an already running Minishift 
instance.
 
 This command assumes you have an already running Minikube instance.
 
+=== For remote Kubernetes/OpenShift clusters
+
+If you have changed anything locally and want to apply the changes to a remote 
cluster, first push your `camel-k` image to a custom repository (see 
<<building>>) and run the following command (the image name 
`docker.io/myrepo/camel-k:1.5.0-SNAPSHOT` should be changed accordingly):
+
+[source]
+----
+kamel install --operator-image=docker.io/myrepo/camel-k:1.5.0-SNAPSHOT 
--operator-image-pull-policy=Always --olm=false
+----
+
+Note `--olm=false` is necessary as otherwise the OLM bundle version is 
preferred.
+
 === Use
 
 Now you can play with Camel K:

Reply via email to