Skip to content

Commit

Permalink
deleting checksum entry in delete workflow (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
sakshisharma84 authored Nov 20, 2023
1 parent 43910c5 commit 0a1dc65
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions controllers/manifest_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,9 @@ func (r *ManifestReconciler) Reconcile(ctx context.Context, req ctrl.Request) (c
return ctrl.Result{}, err
}

// delete checksum entry
delete(checkSum, req.Name)

// Remove the finalizer from the list and update it.
controllerutil.RemoveFinalizer(existing, addonFinalizerName)
if err := r.Update(ctx, existing); err != nil {
Expand Down

0 comments on commit 0a1dc65

Please sign in to comment.