Skip to content

Commit

Permalink
Fix inverse logic for apiserver endpoint reconciler
Browse files Browse the repository at this point in the history
  • Loading branch information
tppolkow committed Oct 11, 2024
1 parent 66080bf commit 1126032
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/controller/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ func (c *command) start(ctx context.Context) error {
}

enableKonnectivity := !c.SingleNode && !slices.Contains(c.DisableComponents, constant.KonnectivityServerComponentName)
disableEndpointReconciler := !slices.Contains(c.DisableComponents, constant.APIEndpointReconcilerComponentName) &&
disableEndpointReconciler := slices.Contains(c.DisableComponents, constant.APIEndpointReconcilerComponentName) &&
nodeConfig.Spec.API.ExternalAddress != ""

if enableKonnectivity {
Expand Down

0 comments on commit 1126032

Please sign in to comment.