Skip to content

Commit

Permalink
fix: the update sts annotation (#3347)
Browse files Browse the repository at this point in the history
  • Loading branch information
sophon-zt committed May 22, 2023
1 parent 249ddc6 commit 616a42e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/controller/lifecycle/cluster_plan_builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,7 @@ func (c *clusterPlanBuilder) buildUpdateObj(node *lifecycleVertex) (client.Objec
stsObj.Spec.Template = stsProto.Spec.Template
stsObj.Spec.Replicas = stsProto.Spec.Replicas
stsObj.Spec.UpdateStrategy = stsProto.Spec.UpdateStrategy
stsObj.Annotations = stsProto.Annotations
return stsObj, nil
}

Expand Down

0 comments on commit 616a42e

Please sign in to comment.