Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

set original node selector value when finalizing service #1537

Merged
merged 1 commit into from
Oct 17, 2023

Conversation

rye-sw
Copy link
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 [email protected]

Copy link
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?

@rye-sw
Copy link
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

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
17 checks passed
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