You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "gansheer (via GitHub)" <gi...@apache.org> on 2023/03/02 11:54:57 UTC

[GitHub] [camel-k] gansheer commented on issue #3956: Camel-K maven security

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

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