When ServiceImportType is Headless, it should be ignored
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
This commit is contained in:
parent
d7ad34afa6
commit
17a44ae041
|
@ -39,7 +39,7 @@ func (c *ServiceImportController) Reconcile(ctx context.Context, req controllerr
|
|||
return controllerruntime.Result{Requeue: true}, err
|
||||
}
|
||||
|
||||
if !svcImport.DeletionTimestamp.IsZero() {
|
||||
if !svcImport.DeletionTimestamp.IsZero() || svcImport.Spec.Type != mcsv1alpha1.ClusterSetIP {
|
||||
return controllerruntime.Result{}, nil
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue