check only image
[ZITADOPER-7]
This commit is contained in:
@@ -292,7 +292,7 @@ func (r *ZitadelClusterReconciler) reconcileInitJob(ctx context.Context, zitadel
|
|||||||
}
|
}
|
||||||
return ctrl.Result{}, nil
|
return ctrl.Result{}, nil
|
||||||
}
|
}
|
||||||
if !reflect.DeepEqual(existingJob.Spec.Template.Spec, desiredInitJob.Spec.Template.Spec) {
|
if desiredInitJob.Spec.Template.Spec.Containers[0].Image != existingJob.Spec.Template.Spec.Containers[0].Image {
|
||||||
gracePeriod := int64(0)
|
gracePeriod := int64(0)
|
||||||
err := r.Delete(ctx, &existingJob,
|
err := r.Delete(ctx, &existingJob,
|
||||||
&client.DeleteOptions{
|
&client.DeleteOptions{
|
||||||
|
|||||||
Reference in New Issue
Block a user