You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by pc...@apache.org on 2025/01/04 09:47:05 UTC

(camel-k) 03/03: fix(ctrl): proper master dependencies in plain Quarkus

This is an automated email from the ASF dual-hosted git repository.

pcongiusti pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-k.git

commit d8636de1a25a1ab984d7f32a831647cfb6daaafe
Author: Pasquale Congiusti <pa...@gmail.com>
AuthorDate: Sat Jan 4 09:39:16 2025 +0100

    fix(ctrl): proper master dependencies in plain Quarkus
---
 pkg/controller/integrationplatform/monitor.go | 15 ++++++++++++++-
 1 file changed, 14 insertions(+), 1 deletion(-)

diff --git a/pkg/controller/integrationplatform/monitor.go b/pkg/controller/integrationplatform/monitor.go
index 816c9f454..ae362ccca 100644
--- a/pkg/controller/integrationplatform/monitor.go
+++ b/pkg/controller/integrationplatform/monitor.go
@@ -194,7 +194,20 @@ func (action *monitorAction) addPlainQuarkusCatalog(ctx context.Context, catalog
 			}
 			runtimesProps := clonedCatalog.Spec.Runtime.Capabilities["master"].RuntimeProperties
 			clonedCatalog.Spec.Runtime.Capabilities["master"] = v1.Capability{
-				Dependencies:      []v1.MavenArtifact{},
+				Dependencies: []v1.MavenArtifact{
+					{
+						GroupID:    "org.apache.camel.quarkus",
+						ArtifactID: "camel-quarkus-master",
+					},
+					{
+						GroupID:    "org.apache.camel.quarkus",
+						ArtifactID: "camel-quarkus-kubernetes",
+					},
+					{
+						GroupID:    "org.apache.camel.quarkus",
+						ArtifactID: "camel-quarkus-kubernetes-cluster-service",
+					},
+				},
 				RuntimeProperties: runtimesProps,
 			}
 			clonedCatalog.Spec.Runtime.Capabilities["resume-kafka"] = v1.Capability{