ChrWeissDe commented on issue #3662:
URL: https://github.com/apache/camel-k/issues/3662#issuecomment-1256525604

   I done some further analysis - based on "code review"  - as I didn't manage 
to debug the command. 
   
   First, when using "kamel run" I see the following statements on the output 
console: 
   _"No IntegrationPlatform resource in xxx namespace
   Warn: camel-mq-config Configmap not found in xxx namespace, make sure to 
provide it before the Integration can run
   Warn: camel-mq-keystore Secret not found in xxx namespace, make sure to 
provide it before the Integration can run"__ 
   
   Based on the source code review I think that we talk about the following two 
code fragements: 
   
   (1) checkAndShowCompatibilityWarning in root.go  
   - relates to "No IntegrationPlattform found ..." 
   - link: https://github.com/apache/camel-k/blob/main/pkg/cmd/root.go 
   - here I am not sure if this might be really a bug - as it checks for " 
!isOfflineCommand(cmd)" and I think this is set in "func (o *runCmdOptions) 
preRunE(cmd *cobra.Command, args []string)" (?) 
   
    
   2.) func parseConfigAndGenCm in run_help.go   
   - related to "No ConfigMap / Secret found ...." 
   - looking at the code this code fragement might work even if no cluster is 
available  (...but of course to check ....) 
   
   


-- 
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-unsubscr...@camel.apache.org

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

Reply via email to