You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2022/05/18 07:40:25 UTC

[camel-k] 01/03: Adding the option of using docker registry

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

acosentino pushed a commit to branch release-1.9.x
in repository https://gitbox.apache.org/repos/asf/camel-k.git

commit 7b47c9cfcd0d87c55dd1907e76db5af02557cab8
Author: MarĂ­a Arias de Reyna <de...@gmail.com>
AuthorDate: Tue May 17 09:35:12 2022 +0200

    Adding the option of using docker registry
    
    As described in https://camel.apache.org/camel-k/1.9.x/installation/platform/kind.html
---
 .../ROOT/pages/contributing/local-development.adoc     | 18 +++++++++++++++++-
 1 file changed, 17 insertions(+), 1 deletion(-)

diff --git a/docs/modules/ROOT/pages/contributing/local-development.adoc b/docs/modules/ROOT/pages/contributing/local-development.adoc
index 4bd0316d4..78f56aa72 100644
--- a/docs/modules/ROOT/pages/contributing/local-development.adoc
+++ b/docs/modules/ROOT/pages/contributing/local-development.adoc
@@ -65,4 +65,20 @@ Camel K integrations are based on https://github.com/apache/camel-k-runtime[Came
 ./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.
\ No newline at end of file
+With the above instructions, the operator will pick up and use the snapshot version you have released locally.
+
+==== Using a Docker registry
+
+Alternatively, if no local registry is available, you can use a docker registry. First, create a secret with your registry username and password:
+
+```
+kubectl -n default create secret docker-registry external-registry-secret --docker-username my-user --docker-password "password"
+```
+
+And then you can run the installation of Camel K operator:
+
+```
+./kamel install --skip-operator-setup -n operator-test --force --runtime-version 1.7.0-SNAPSHOT --registry docker.io --organization my-org-or-username --registry-secret external-registry-secret 
+```
+
+Make sure to replace the `my-org-or-username` with your actual username or organization used to host the images.