Re: [PR] chore(knative): configure via properties [camel-k]

2024-02-27 Thread via GitHub
lburgazzoli commented on PR #5186: URL: https://github.com/apache/camel-k/pull/5186#issuecomment-1967175001 it is more for knowledge sharing so everyone knows why we merged something with failing tests and we can check the issue to be solved when moving to the new architecture -- This

Re: [PR] chore(knative): configure via properties [camel-k]

2024-02-27 Thread via GitHub
squakez commented on PR #5186: URL: https://github.com/apache/camel-k/pull/5186#issuecomment-1967143408 > do we have an issue to track the flaky test ? Probably not. This is happening because some sync problem in github actions OS when running the --dev and watching files. We've

Re: [PR] chore(knative): configure via properties [camel-k]

2024-02-27 Thread via GitHub
lburgazzoli commented on PR #5186: URL: https://github.com/apache/camel-k/pull/5186#issuecomment-1967119380 do we have an issue to track the flaky test ? -- 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

Re: [PR] chore(knative): configure via properties [camel-k]

2024-02-27 Thread via GitHub
squakez commented on PR #5186: URL: https://github.com/apache/camel-k/pull/5186#issuecomment-1967098477 Known flaky check failure. Merging. -- 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

Re: [PR] chore(knative): configure via properties [camel-k]

2024-02-27 Thread via GitHub
squakez merged PR #5186: URL: https://github.com/apache/camel-k/pull/5186 -- 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:

Re: [PR] chore(knative): configure via properties [camel-k]

2024-02-27 Thread via GitHub
github-actions[bot] commented on PR #5186: URL: https://github.com/apache/camel-k/pull/5186#issuecomment-1966609455 :heavy_check_mark: Unit test coverage report - coverage increased from 36% to 36.2% (**+0.2%**) -- This is an automated message from the Apache Git Service. To respond to

Re: [PR] chore(knative): configure via properties [camel-k]

2024-02-27 Thread via GitHub
lburgazzoli commented on code in PR #5186: URL: https://github.com/apache/camel-k/pull/5186#discussion_r1504275112 ## pkg/apis/camel/v1/knative/types.go: ## @@ -38,6 +38,7 @@ type CamelServiceDefinition struct { URL string`json:"url,omitempty"`

Re: [PR] chore(knative): configure via properties [camel-k]

2024-02-27 Thread via GitHub
squakez commented on PR #5186: URL: https://github.com/apache/camel-k/pull/5186#issuecomment-1966600297 If tests are green and @lburgazzoli is fine with the development, we can merge this. -- This is an automated message from the Apache Git Service. To respond to the message, please log

Re: [PR] chore(knative): configure via properties [camel-k]

2024-02-27 Thread via GitHub
squakez commented on code in PR #5186: URL: https://github.com/apache/camel-k/pull/5186#discussion_r1504270563 ## pkg/trait/trait_types.go: ## @@ -511,8 +510,9 @@ func (e *Environment) configureVolumesAndMounts(vols *[]corev1.Volume, mnts *[]c // Resources (likely

Re: [PR] chore(knative): configure via properties [camel-k]

2024-02-27 Thread via GitHub
squakez commented on code in PR #5186: URL: https://github.com/apache/camel-k/pull/5186#discussion_r1504270223 ## pkg/util/camel/camel_runtime_catalog.go: ## @@ -26,6 +26,18 @@ import ( // NewRuntimeCatalog creates a runtime catalog with the given catalog. func

Re: [PR] chore(knative): configure via properties [camel-k]

2024-02-27 Thread via GitHub
squakez commented on code in PR #5186: URL: https://github.com/apache/camel-k/pull/5186#discussion_r1504269478 ## pkg/apis/camel/v1/knative/types.go: ## @@ -38,6 +38,7 @@ type CamelServiceDefinition struct { URL string`json:"url,omitempty"`

Re: [PR] chore(knative): configure via properties [camel-k]

2024-02-27 Thread via GitHub
lburgazzoli commented on code in PR #5186: URL: https://github.com/apache/camel-k/pull/5186#discussion_r1503837869 ## pkg/util/camel/camel_runtime_catalog.go: ## @@ -26,6 +26,18 @@ import ( // NewRuntimeCatalog creates a runtime catalog with the given catalog. func

Re: [PR] chore(knative): configure via properties [camel-k]

2024-02-27 Thread via GitHub
squakez commented on code in PR #5186: URL: https://github.com/apache/camel-k/pull/5186#discussion_r1503827752 ## pkg/util/camel/camel_runtime_catalog.go: ## @@ -26,6 +26,18 @@ import ( // NewRuntimeCatalog creates a runtime catalog with the given catalog. func

Re: [PR] chore(knative): configure via properties [camel-k]

2024-02-27 Thread via GitHub
lburgazzoli commented on code in PR #5186: URL: https://github.com/apache/camel-k/pull/5186#discussion_r1503827620 ## pkg/apis/camel/v1/knative/types.go: ## @@ -38,6 +38,7 @@ type CamelServiceDefinition struct { URL string`json:"url,omitempty"`

Re: [PR] chore(knative): configure via properties [camel-k]

2024-02-27 Thread via GitHub
lburgazzoli commented on code in PR #5186: URL: https://github.com/apache/camel-k/pull/5186#discussion_r1503821804 ## pkg/util/camel/camel_runtime_catalog.go: ## @@ -26,6 +26,18 @@ import ( // NewRuntimeCatalog creates a runtime catalog with the given catalog. func

Re: [PR] chore(knative): configure via properties [camel-k]

2024-02-27 Thread via GitHub
squakez commented on code in PR #5186: URL: https://github.com/apache/camel-k/pull/5186#discussion_r1503812719 ## pkg/trait/camel.go: ## @@ -200,10 +207,10 @@ func (t *camelTrait) computeConfigMaps(e *Environment) []ctrl.Object {

Re: [PR] chore(knative): configure via properties [camel-k]

2024-02-27 Thread via GitHub
squakez commented on code in PR #5186: URL: https://github.com/apache/camel-k/pull/5186#discussion_r1503811034 ## pkg/trait/trait_types.go: ## @@ -511,8 +510,9 @@ func (e *Environment) configureVolumesAndMounts(vols *[]corev1.Volume, mnts *[]c // Resources (likely

Re: [PR] chore(knative): configure via properties [camel-k]

2024-02-27 Thread via GitHub
squakez commented on code in PR #5186: URL: https://github.com/apache/camel-k/pull/5186#discussion_r1503809906 ## pkg/util/camel/camel_runtime_catalog.go: ## @@ -26,6 +26,18 @@ import ( // NewRuntimeCatalog creates a runtime catalog with the given catalog. func

Re: [PR] chore(knative): configure via properties [camel-k]

2024-02-27 Thread via GitHub
squakez commented on code in PR #5186: URL: https://github.com/apache/camel-k/pull/5186#discussion_r1503809358 ## pkg/apis/camel/v1/knative/types.go: ## @@ -38,6 +38,7 @@ type CamelServiceDefinition struct { URL string`json:"url,omitempty"`

Re: [PR] chore(knative): configure via properties [camel-k]

2024-02-27 Thread via GitHub
squakez commented on code in PR #5186: URL: https://github.com/apache/camel-k/pull/5186#discussion_r1503805698 ## pkg/util/camel/camel_runtime_catalog.go: ## @@ -26,6 +26,18 @@ import ( // NewRuntimeCatalog creates a runtime catalog with the given catalog. func

Re: [PR] chore(knative): configure via properties [camel-k]

2024-02-27 Thread via GitHub
lburgazzoli commented on code in PR #5186: URL: https://github.com/apache/camel-k/pull/5186#discussion_r1503806109 ## pkg/trait/camel.go: ## @@ -200,10 +207,10 @@ func (t *camelTrait) computeConfigMaps(e *Environment) []ctrl.Object {

Re: [PR] chore(knative): configure via properties [camel-k]

2024-02-27 Thread via GitHub
lburgazzoli commented on code in PR #5186: URL: https://github.com/apache/camel-k/pull/5186#discussion_r1503803832 ## pkg/trait/trait_types.go: ## @@ -511,8 +510,9 @@ func (e *Environment) configureVolumesAndMounts(vols *[]corev1.Volume, mnts *[]c // Resources (likely

Re: [PR] chore(knative): configure via properties [camel-k]

2024-02-27 Thread via GitHub
lburgazzoli commented on code in PR #5186: URL: https://github.com/apache/camel-k/pull/5186#discussion_r1503803832 ## pkg/trait/trait_types.go: ## @@ -511,8 +510,9 @@ func (e *Environment) configureVolumesAndMounts(vols *[]corev1.Volume, mnts *[]c // Resources (likely

Re: [PR] chore(knative): configure via properties [camel-k]

2024-02-27 Thread via GitHub
lburgazzoli commented on code in PR #5186: URL: https://github.com/apache/camel-k/pull/5186#discussion_r1503800482 ## pkg/util/camel/camel_runtime_catalog.go: ## @@ -26,6 +26,18 @@ import ( // NewRuntimeCatalog creates a runtime catalog with the given catalog. func

Re: [PR] chore(knative): configure via properties [camel-k]

2024-02-27 Thread via GitHub
squakez commented on code in PR #5186: URL: https://github.com/apache/camel-k/pull/5186#discussion_r1503800278 ## pkg/trait/camel.go: ## @@ -200,10 +207,10 @@ func (t *camelTrait) computeConfigMaps(e *Environment) []ctrl.Object {

Re: [PR] chore(knative): configure via properties [camel-k]

2024-02-27 Thread via GitHub
lburgazzoli commented on code in PR #5186: URL: https://github.com/apache/camel-k/pull/5186#discussion_r1503796994 ## pkg/trait/camel.go: ## @@ -200,10 +207,10 @@ func (t *camelTrait) computeConfigMaps(e *Environment) []ctrl.Object {

Re: [PR] chore(knative): configure via properties [camel-k]

2024-02-27 Thread via GitHub
lburgazzoli commented on code in PR #5186: URL: https://github.com/apache/camel-k/pull/5186#discussion_r1503785575 ## pkg/trait/camel.go: ## @@ -33,6 +33,13 @@ import ( "github.com/apache/camel-k/v2/pkg/util/property" ) +const ( + camelSourceLanguageAnnotation

Re: [PR] chore(knative): configure via properties [camel-k]

2024-02-27 Thread via GitHub
lburgazzoli commented on code in PR #5186: URL: https://github.com/apache/camel-k/pull/5186#discussion_r1503792088 ## pkg/apis/camel/v1/knative/types.go: ## @@ -38,6 +38,7 @@ type CamelServiceDefinition struct { URL string`json:"url,omitempty"`

Re: [PR] chore(knative): configure via properties [camel-k]

2024-02-26 Thread via GitHub
lburgazzoli commented on code in PR #5186: URL: https://github.com/apache/camel-k/pull/5186#discussion_r1503785575 ## pkg/trait/camel.go: ## @@ -33,6 +33,13 @@ import ( "github.com/apache/camel-k/v2/pkg/util/property" ) +const ( + camelSourceLanguageAnnotation

Re: [PR] chore(knative): configure via properties [camel-k]

2024-02-26 Thread via GitHub
github-actions[bot] commented on PR #5186: URL: https://github.com/apache/camel-k/pull/5186#issuecomment-1965950910 :heavy_check_mark: Unit test coverage report - coverage increased from 36% to 36.2% (**+0.2%**) -- This is an automated message from the Apache Git Service. To respond to

Re: [PR] chore(knative): configure via properties [camel-k]

2024-02-26 Thread via GitHub
squakez commented on PR #5186: URL: https://github.com/apache/camel-k/pull/5186#issuecomment-1965936553 Part of https://github.com/apache/camel-k/pull/5090 - @lburgazzoli please, have a look and confirm if this part is good. -- This is an automated message from the Apache Git Service. To

[PR] chore(knative): configure via properties [camel-k]

2024-02-26 Thread via GitHub
squakez opened a new pull request, #5186: URL: https://github.com/apache/camel-k/pull/5186 With this PR we move the configuration from the env var to the properties. **Release Note** ```release-note chore(knative): configure via properties ``` --