Skip to content

Commit

Permalink
chore: Drop the events controller for v1.2.x (#7664)
Browse files Browse the repository at this point in the history
  • Loading branch information
engedaam authored Jan 30, 2025
1 parent 93da438 commit 058c665
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions pkg/controllers/controllers.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ import (
"context"

"github.com/awslabs/operatorpkg/controller"
opevents "github.com/awslabs/operatorpkg/events"
"github.com/awslabs/operatorpkg/status"
"github.com/patrickmn/go-cache"
"sigs.k8s.io/controller-runtime/pkg/manager"
Expand All @@ -39,7 +38,6 @@ import (

servicesqs "github.com/aws/aws-sdk-go-v2/service/sqs"
"github.com/samber/lo"
corev1 "k8s.io/api/core/v1"
"k8s.io/utils/clock"
"sigs.k8s.io/controller-runtime/pkg/client"

Expand Down Expand Up @@ -89,7 +87,6 @@ func NewControllers(
controllersinstancetypecapacity.NewController(kubeClient, cloudProvider, instanceTypeProvider),
ssminvalidation.NewController(ssmCache, amiProvider),
status.NewController[*v1.EC2NodeClass](kubeClient, mgr.GetEventRecorderFor("karpenter"), status.EmitDeprecatedMetrics),
opevents.NewController[*corev1.Node](kubeClient, clk),
controllersversion.NewController(versionProvider, versionProvider.UpdateVersionWithValidation),
}
if options.FromContext(ctx).InterruptionQueue != "" {
Expand Down

0 comments on commit 058c665

Please sign in to comment.