Closed fsrv-xyz closed 1 week ago
I opened an issue at https://github.com/apache/camel-k/issues/5933 to keep track of this. Thank you for checking.
@squakez Thank you for your review. The behavior you described was related to an error on my end where an empty sources list passed the check. I fixed that in https://github.com/apache/camel-k/pull/5930/commits/b041f17be45e943410ebe57d5a478be67ea92c96.
I also checked your mention of the "config profile" part. While I am not 100% sure what you mean by that (especially its impact on the sources), I guess it is the deprecation you introduced in https://github.com/apache/camel-k/pull/5871. While browsing the docs for that, I could not identify a way of manipulating the source file selection with IntegrationProfiles. Please enlighten me if I have overlooked something.
Thanks for the contribution!
Hey there!
Thank you for doing such awesome work with that project.
While using the
kamel
tool, I tried to exclusively configure my deployment via thekamel-config.yaml
file. Due to there is asources
array in that config file, I think specifying the sources there should be enough to run an integration rather than needing to define at least one source atkamel run [file to run]
.My patch skips the error if no source file is provided via arguments and at least one source is provided in the configuration file. Otherwise, there will be an error if the sources are only provided in config file.