Skip to content

Commit

Permalink
Set original node selector value when finalizing service
Browse files Browse the repository at this point in the history
Signed-off-by: rye-sw <[email protected]>
  • Loading branch information
rye-sw committed Oct 16, 2023
1 parent 55db424 commit d796c20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/router/kubernetes_default.go
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ func (c *KubernetesDefaultRouter) Finalize(canary *flaggerv1.Canary) error {
return fmt.Errorf("service %s update error: %w", clone.Name, err)
}
} else {
err = c.reconcileService(canary, apexName, canary.Spec.TargetRef.Name, nil)
err = c.reconcileService(canary, apexName, c.labelValue, nil)
if err != nil {
return fmt.Errorf("reconcileService failed: %w", err)
}
Expand Down

0 comments on commit d796c20

Please sign in to comment.