diff --git a/rollout/controller.go b/rollout/controller.go index 23f7f340dd..818c203d87 100644 --- a/rollout/controller.go +++ b/rollout/controller.go @@ -987,7 +987,7 @@ func (c *rolloutContext) updateReplicaSetFallbackToPatch(ctx context.Context, rs } if _, found := rs.Annotations[v1alpha1.DefaultReplicaSetScaleDownDeadlineAnnotationKey]; found { - patchRS.Annotations[v1alpha1.DefaultReplicaSetScaleDownDeadlineAnnotationKey] = rs.Labels[v1alpha1.DefaultReplicaSetScaleDownDeadlineAnnotationKey] + patchRS.Annotations[v1alpha1.DefaultReplicaSetScaleDownDeadlineAnnotationKey] = rs.Annotations[v1alpha1.DefaultReplicaSetScaleDownDeadlineAnnotationKey] } if _, found := rs.Spec.Selector.MatchLabels[v1alpha1.DefaultRolloutUniqueLabelKey]; found {