You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kie.apache.org by wm...@apache.org on 2026/01/15 09:13:20 UTC

(incubator-kie-tools) branch main updated: incubator-kie-tools-3393: [sonataflow-operator] Remove unused webhookServer initialization (#3394)

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

wmedvedeo pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-kie-tools.git


The following commit(s) were added to refs/heads/main by this push:
     new 57010b5900d incubator-kie-tools-3393: [sonataflow-operator] Remove unused webhookServer initialization (#3394)
57010b5900d is described below

commit 57010b5900d01a0e2f831cc1edb1a9a8d29fd825
Author: Walter Medvedeo <wm...@gmail.com>
AuthorDate: Thu Jan 15 10:13:16 2026 +0100

    incubator-kie-tools-3393: [sonataflow-operator] Remove unused webhookServer initialization (#3394)
---
 packages/sonataflow-operator/cmd/main.go | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/packages/sonataflow-operator/cmd/main.go b/packages/sonataflow-operator/cmd/main.go
index 470eebfb1b9..17b3f0154b3 100644
--- a/packages/sonataflow-operator/cmd/main.go
+++ b/packages/sonataflow-operator/cmd/main.go
@@ -38,7 +38,6 @@ import (
 	sourcesv1 "knative.dev/eventing/pkg/apis/sources/v1"
 	servingv1 "knative.dev/serving/pkg/apis/serving/v1"
 	metricsserver "sigs.k8s.io/controller-runtime/pkg/metrics/server"
-	"sigs.k8s.io/controller-runtime/pkg/webhook"
 
 	"github.com/apache/incubator-kie-tools/packages/sonataflow-operator/internal/controller"
 	"github.com/apache/incubator-kie-tools/packages/sonataflow-operator/internal/controller/cfg"
@@ -146,10 +145,6 @@ func main() {
 		tlsOpts = append(tlsOpts, disableHTTP2)
 	}
 
-	webhookServer := webhook.NewServer(webhook.Options{
-		TLSOpts: tlsOpts,
-	})
-
 	config := ctrl.GetConfigOrDie()
 	config.QPS = float32(*qps)
 	config.Burst = *burst
@@ -160,7 +155,6 @@ func main() {
 			SecureServing: secureMetrics,
 			TLSOpts:       tlsOpts,
 		},
-		WebhookServer:          webhookServer,
 		HealthProbeBindAddress: probeAddr,
 		LeaderElection:         enableLeaderElection,
 		LeaderElectionID:       "1be5e57d.kie.org",


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org