Skip to content

Commit

Permalink
delete outdated upgrade procedures
Browse files Browse the repository at this point in the history
  • Loading branch information
eguzki committed Sep 30, 2024
1 parent de60fb3 commit 7f2bc27
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 274 deletions.
10 changes: 1 addition & 9 deletions controllers/limitador_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ import (
limitadorv1alpha1 "github.com/kuadrant/limitador-operator/api/v1alpha1"
"github.com/kuadrant/limitador-operator/pkg/limitador"
"github.com/kuadrant/limitador-operator/pkg/reconcilers"
"github.com/kuadrant/limitador-operator/pkg/upgrades"
)

// LimitadorReconciler reconciles a Limitador object
Expand Down Expand Up @@ -247,8 +246,7 @@ func (r *LimitadorReconciler) reconcileDeployment(ctx context.Context, limitador
return ctrl.Result{}, err
}

// TODO: To be deleted when the upgrade path is no longer needed.
return upgrades.UpgradeDeploymentTov070(ctx, r.Client(), limitadorObj, client.ObjectKeyFromObject(deployment))
return ctrl.Result{}, nil
}

func (r *LimitadorReconciler) reconcileService(ctx context.Context, limitadorObj *limitadorv1alpha1.Limitador) error {
Expand Down Expand Up @@ -317,12 +315,6 @@ func (r *LimitadorReconciler) reconcileLimitsConfigMap(ctx context.Context, limi
return err
}

// TODO: To be deleted when the upgrade path is no longer needed.
err = upgrades.UpgradeConfigMapTov070(ctx, r.Client(), limitadorObj)
if err != nil {
return err
}

return nil
}

Expand Down
77 changes: 0 additions & 77 deletions pkg/upgrades/v0_7_0.go

This file was deleted.

188 changes: 0 additions & 188 deletions pkg/upgrades/v0_7_0_test.go

This file was deleted.

0 comments on commit 7f2bc27

Please sign in to comment.