We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 60384f8 commit b99b624Copy full SHA for b99b624
rollout/sync.go
@@ -562,7 +562,10 @@ func isIndefiniteStep(r *v1alpha1.Rollout) bool {
562
if currentStep != nil && (currentStep.Experiment != nil || currentStep.Analysis != nil || currentStep.Pause != nil) {
563
return true
564
}
565
- return false
+ // also check the pause condition to cover blueGreen
566
+ pauseCond := conditions.GetRolloutCondition(r.Status, v1alpha1.RolloutPaused)
567
+ pausedCondTrue := pauseCond != nil && pauseCond.Status == corev1.ConditionTrue
568
+ return pausedCondTrue
569
570
571
// isWaitingForReplicaSetScaleDown returns whether or not the rollout still has other replica sets with a scale down deadline annotation
0 commit comments