Fix bug where parameters were not propagated.

This commit is contained in:
2023-02-21 21:19:52 +00:00
parent 8799456499
commit 0a062b6ad7
4 changed files with 5 additions and 4 deletions
+1
View File
@@ -63,6 +63,7 @@ func (r *ManagedJobReconciler) Reconcile(ctx context.Context, req ctrl.Request)
_, theSame, _ := pandati.CompareStructsReplaced(originalMainJobDefinition, cp.mj)
if !theSame {
cp.updateCRDStatusDirectly()
return ctrl.Result{}, nil
}
originalMainJobDefinition = cp.mj.DeepCopy()