You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by nf...@apache.org on 2020/07/14 09:00:44 UTC

[camel-k] branch master updated: chore: Add information on how to debug the camel-k operator

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 8c7307f  chore: Add information on how to debug the camel-k operator
8c7307f is described below

commit 8c7307fecdfd27bc5fdf6928c9f8d332826f4470
Author: John Poth <po...@gmail.com>
AuthorDate: Wed Jul 8 18:18:07 2020 +0200

    chore: Add information on how to debug the camel-k operator
---
 docs/modules/ROOT/pages/developers.adoc | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/docs/modules/ROOT/pages/developers.adoc b/docs/modules/ROOT/pages/developers.adoc
index d2b11f0..4c17235 100644
--- a/docs/modules/ROOT/pages/developers.adoc
+++ b/docs/modules/ROOT/pages/developers.adoc
@@ -207,7 +207,7 @@ oc scale deployment/camel-k-operator --replicas 0
 
 You can scale it back to 1 when you're done and you have updated the operator image.
 
-You can setup the IDE (e.g. Goland) to execute the https://github.com/apache/camel-k/blob/master/cmd/manager/main.go[/cmd/manager/main.go] file in debug mode.
+You can setup the IDE (e.g. Goland) to execute the https://github.com/apache/camel-k/blob/master/cmd/manager/main.go[/cmd/manager/main.go] file in debug mode with `operator` as argument.
 
 When configuring the IDE task, make sure to add all required environment variables in the *IDE task configuration screen*:
 
@@ -215,7 +215,8 @@ When configuring the IDE task, make sure to add all required environment variabl
 * Set the `WATCH_NAMESPACE` environment variable to a Kubernetes namespace you have access to.
 * Set the `OPERATOR_NAME` environment variable to `camel-k`.
 
-After you setup the IDE task, you can run and debug the operator process.
+
+After you setup the IDE task, with Java 11+ to be used by default, you can run and debug the operator process.
 
 NOTE: The operator can be fully debugged in Minishift, because it uses OpenShift S2I binary builds under the hood.
 The build phase cannot be (currently) debugged in Minikube because the Kaniko builder requires that the operator and the publisher pod