gansheer commented on issue #3956:
URL: https://github.com/apache/camel-k/issues/3956#issuecomment-1451748154

   > It seems that the settings security are not taken in consideration then. I 
guess the configmap is in the same Integration namespace. The way it is 
implemented right now, it swallow any empty value, so we don't have a clear way 
to distinguish the reason why this is failing:
   > 
   > 
https://github.com/apache/camel-k/blob/79fefb98cd2edd91805c94fc86c4663f1f2300c3/pkg/builder/project.go#L114
   > 
   > I'm marking as a bug, as, at least, we need some better message when the 
option is configured and no configmap/secrets are found.
   
   I made some tests for the absence of configmap for maven-settings or 
maven-settings-security , the existing message looks good to me : 
   ```
   camel-k-operator-74b6fbf54b-g6lbj camel-k-operator 
{"level":"info","ts":1677757649.7288024,"logger":"camel-k.builder","msg":"step 
failed with error: ConfigMap \"maven-settings-security\" not 
found","step":"github.com/apache/camel-k/pkg/builder/GenerateProjectSettings","phase":"11","task":"builder"}
   ```
   
   @milank78git : is the artifact 
`org.apache.camel.k:camel-k-runtime-bom:pom:1.16.0` available in you nexus ? 
Can you download it from outside of camel-k with your settings configuration ?


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