diff --git a/rollout/sync.go b/rollout/sync.go index a7f600917c..6da7eabb3e 100644 --- a/rollout/sync.go +++ b/rollout/sync.go @@ -95,6 +95,7 @@ func (c *rolloutContext) syncReplicaSetRevision() (*appsv1.ReplicaSet, error) { if err != nil { return nil, fmt.Errorf("error updating replicaset informer in syncReplicaSetRevision: %w", err) } + c.newRS = rs.DeepCopy() return rs, nil }