mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-31 15:25:57 +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
|
||||
}
|
||||
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(
|
||||
metav1apply.Condition().
|
||||
WithType(networkingapiv1alpha1.ServiceCIDRConditionReady).
|
||||
|
Loading…
Reference in New Issue
Block a user