• Michail Kargakis's avatar
    Fix deployment timeout reporting · af0f5dcc
    Michail Kargakis authored
    If the previous condition has been a successful rollout then we
    shouldn't try to estimate any progress. Scenario:
    
    * progressDeadlineSeconds is smaller than the difference between
      now and the time the last rollout finished in the past.
    * the creation of a new ReplicaSet triggers a resync of the
      Deployment prior to the cached copy of the Deployment getting
      updated with the status.condition that indicates the creation
       of the new ReplicaSet.
    
    The Deployment will be resynced and eventually its Progressing
    condition will catch up with the state of the world.
    Signed-off-by: 's avatarMichail Kargakis <mkargaki@redhat.com>
    af0f5dcc
Name
Last commit
Last update
..
BUILD Loading commit data...
deployment_util.go Loading commit data...
deployment_util_test.go Loading commit data...
hash_test.go Loading commit data...
pod_util.go Loading commit data...
replicaset_util.go Loading commit data...