Skip to content

Commit

Permalink
Remove unused TLS references for the integration sink
Browse files Browse the repository at this point in the history
Signed-off-by: Matthias Wessendorf <[email protected]>
  • Loading branch information
matzew committed Dec 10, 2024
1 parent bff7b03 commit d6e7a40
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 56 deletions.
48 changes: 0 additions & 48 deletions config/core-tls/integration-sink-tls-certificate.yaml

This file was deleted.

3 changes: 0 additions & 3 deletions pkg/eventingtls/eventingtls.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,6 @@ const (
BrokerFilterServerTLSSecretName = "mt-broker-filter-server-tls" //nolint:gosec // This is not a hardcoded credential
// BrokerIngressServerTLSSecretName is the name of the tls secret for the broker ingress server
BrokerIngressServerTLSSecretName = "mt-broker-ingress-server-tls" //nolint:gosec // This is not a hardcoded credential

// IntegrationSinkDispatcherServerTLSSecretName is the name of the tls secret for the integration sink dispatcher server
IntegrationSinkDispatcherServerTLSSecretName = "integration-sink-server-tls" //nolint:gosec // This is not a hardcoded credential
)

type ClientConfig struct {
Expand Down
5 changes: 0 additions & 5 deletions pkg/reconciler/integration/sink/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ import (
secretinformer "knative.dev/pkg/injection/clients/namespacedkube/informers/core/v1/secret"

integrationsinkreconciler "knative.dev/eventing/pkg/client/injection/reconciler/sinks/v1alpha1/integrationsink"
"knative.dev/eventing/pkg/eventingtls"
kubeclient "knative.dev/pkg/client/injection/kube/client"
"knative.dev/pkg/configmap"
"knative.dev/pkg/controller"
Expand Down Expand Up @@ -82,10 +81,6 @@ func NewController(
globalResync = func(interface{}) {
impl.GlobalResync(integrationSinkInformer.Informer())
}
secretInformer.Informer().AddEventHandler(cache.FilteringResourceEventHandler{
FilterFunc: controller.FilterWithName(eventingtls.IntegrationSinkDispatcherServerTLSSecretName),
Handler: controller.HandleAll(globalResync),
})

deploymentInformer.Informer().AddEventHandler(cache.FilteringResourceEventHandler{
FilterFunc: controller.FilterControllerGVK(v1alpha1.SchemeGroupVersion.WithKind("IntegrationSink")),
Expand Down

0 comments on commit d6e7a40

Please sign in to comment.