Skip to content

Commit

Permalink
updating
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Volchok <alex.volchok@sap.com>
  • Loading branch information
alexwo committed Apr 3, 2024
1 parent 2317258 commit 7db0845
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ provider:
disabled: true
retryPeriod: 1s
RenewDeadline: 2s
LeaseDuration: 3s
LeaseDuration: 3s
6 changes: 3 additions & 3 deletions internal/provider/kubernetes/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -901,9 +901,9 @@ func (r *gatewayAPIReconciler) addFinalizer(ctx context.Context, gc *gwapiv1.Gat

// watchResources watches gateway api resources.
func (r *gatewayAPIReconciler) watchResources(ctx context.Context, mgr manager.Manager, c controller.Controller) error {
// // Upon leader election, we retrigger the reconciliation process to allow the elected leader to
//process status updates and infrastructure changes. This step is crucial for synchronizing resources
//that may have been altered or introduced while there was no elected leader.
// Upon leader election, we retrigger the reconciliation process to allow the elected leader to
// process status updates and infrastructure changes. This step is crucial for synchronizing resources
// that may have been altered or introduced while there was no elected leader.
if err := c.Watch(
NewWatchAndReconcileSource(mgr.Elected(), &gwapiv1.GatewayClass{}),
handler.EnqueueRequestsFromMapFunc(r.enqueueClass)); err != nil {
Expand Down

0 comments on commit 7db0845

Please sign in to comment.