Skip to content

set original node selector value when finalizing service#1537

Merged
aryan9600 merged 1 commit intofluxcd:mainfrom
rye-sw:fix-issue-1534
Oct 17, 2023
Merged

set original node selector value when finalizing service#1537
aryan9600 merged 1 commit intofluxcd:mainfrom
rye-sw:fix-issue-1534

Conversation

@rye-sw
Copy link
Copy Markdown
Contributor

@rye-sw rye-sw commented Oct 11, 2023

As issue #1534 reported, the reverted service does not have the same selector as the original one, as a result the reverted service has not endpoints.

KubernetesDefaultRouter has the original selector label and selector value, we should use that instead of canary.Spec.TargetRef.Name

Signed-off-by: rye-sw rye@stairwell.com

Copy link
Copy Markdown
Member

@aryan9600 aryan9600 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm! thanks @rye-sw 🙇

could you please rebase on top of main?

Signed-off-by: rye-sw <rye@stairwell.com>
@rye-sw
Copy link
Copy Markdown
Contributor Author

rye-sw commented Oct 16, 2023

lgtm! thanks @rye-sw 🙇

could you please rebase on top of main?

of course :)

@codecov-commenter
Copy link
Copy Markdown

Codecov Report

Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (55db424) 55.04% compared to head (d796c20) 55.04%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1537   +/-   ##
=======================================
  Coverage   55.04%   55.04%           
=======================================
  Files          85       85           
  Lines       10354    10354           
=======================================
  Hits         5699     5699           
  Misses       3993     3993           
  Partials      662      662           
Files Coverage Δ
pkg/router/kubernetes_default.go 62.30% <0.00%> (ø)

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@aryan9600 aryan9600 merged commit d7bf6a2 into fluxcd:main Oct 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants