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

ricardozanini pushed a commit to branch main
in repository 
https://gitbox.apache.org/repos/asf/incubator-kie-kogito-serverless-operator.git


The following commit(s) were added to refs/heads/main by this push:
     new 737059d2 kogito-serverless-operator-331: Operator service discovery is 
not activated for the dev profile (#332)
737059d2 is described below

commit 737059d2e25dec0566d6dc9d1a957874266d9706
Author: Walter Medvedeo <[email protected]>
AuthorDate: Tue Dec 19 18:23:54 2023 +0100

    kogito-serverless-operator-331: Operator service discovery is not activated 
for the dev profile (#332)
---
 controllers/profiles/dev/profile_dev.go | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/controllers/profiles/dev/profile_dev.go 
b/controllers/profiles/dev/profile_dev.go
index c7aedc62..fbc6928a 100644
--- a/controllers/profiles/dev/profile_dev.go
+++ b/controllers/profiles/dev/profile_dev.go
@@ -20,6 +20,7 @@
 package dev
 
 import (
+       
"github.com/apache/incubator-kie-kogito-serverless-operator/controllers/discovery"
        "k8s.io/klog/v2"
        "sigs.k8s.io/controller-runtime/pkg/client"
 
@@ -42,7 +43,8 @@ func (d developmentProfile) GetProfile() metadata.ProfileType 
{
 
 func NewProfileReconciler(client client.Client) profiles.ProfileReconciler {
        support := &common.StateSupport{
-               C: client,
+               C:       client,
+               Catalog: discovery.NewServiceCatalog(client),
        }
 
        var ensurers *objectEnsurers


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to