Skip to content

Commit

Permalink
Revert "fix: Enable HA on webhook reconcilers (#142)" (#163)
Browse files Browse the repository at this point in the history
This reverts commit ca4f017.
  • Loading branch information
ellistarn authored Jan 11, 2023
1 parent 53b7c19 commit a42dc9c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/operator/operator.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,9 @@ func NewOperator() (context.Context, *Operator) {
// Root Context
ctx := signals.NewContext()
ctx = knativeinjection.WithNamespaceScope(ctx, system.Namespace())
// TODO: This can be removed if we eventually decide that we need leader election. Having leader election has resulted in the webhook
// having issues described in https://github.com/aws/karpenter/issues/2562 so these issues need to be resolved if this line is removed
ctx = sharedmain.WithHADisabled(ctx) // Disable leader election for webhook

// Options
opts := options.New().MustParse()
Expand Down

0 comments on commit a42dc9c

Please sign in to comment.