mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-03 01:06:27 +00:00
servicecidrs controller clarify condition false reevaluation
Change-Id: I0eb8d39abe9b7b0ce6472ff426e9a62e7155aae1
This commit is contained in:
parent
fee07ad608
commit
3b69bd6a9b
@ -351,7 +351,9 @@ func (c *Controller) sync(ctx context.Context, key string) error {
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
if !ok {
|
if !ok {
|
||||||
// update the status to indicate why the ServiceCIDR can not be deleted
|
// update the status to indicate why the ServiceCIDR can not be deleted,
|
||||||
|
// it will be reevaludated by an event on any ServiceCIDR or IPAddress related object
|
||||||
|
// that may remove this condition.
|
||||||
svcApplyStatus := networkingapiv1alpha1apply.ServiceCIDRStatus().WithConditions(
|
svcApplyStatus := networkingapiv1alpha1apply.ServiceCIDRStatus().WithConditions(
|
||||||
metav1apply.Condition().
|
metav1apply.Condition().
|
||||||
WithType(networkingapiv1alpha1.ServiceCIDRConditionReady).
|
WithType(networkingapiv1alpha1.ServiceCIDRConditionReady).
|
||||||
|
Loading…
Reference in New Issue
Block a user