You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2022/05/17 07:37:12 UTC

[GitHub] [camel-k] oscerd commented on a diff in pull request #3281: [Docs]Adding the option of using docker registry

oscerd commented on code in PR #3281:
URL: https://github.com/apache/camel-k/pull/3281#discussion_r874470209


##########
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 

Review Comment:
   I don't think we should use 1.7.0-SNAPSHOT as runtime version as default in the docs.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org