Skip to content

Commit

Permalink
add debug msg for checksum
Browse files Browse the repository at this point in the history
  • Loading branch information
Zihan Jiang committed Oct 25, 2023
1 parent ef27eb5 commit e72f1ab
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions controllers/addon_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,10 @@ func (r *AddonReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl
return reconcile.Result{}, ignoreNotFound(err)
}

// Log the addon spec and the checksum
changedStatus, newChecksum := r.validateChecksum(instance)
log.Info("Addon spec", "spec", instance.Spec, "checksum", newChecksum, "changedStatus", changedStatus)

return r.execAddon(ctx, log, instance)
}

Expand Down

0 comments on commit e72f1ab

Please sign in to comment.