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

Fix handling of multiple label selectors in a service #303

Merged
merged 1 commit into from Apr 2, 2024

Conversation

bpfoster
Copy link
Contributor

@bpfoster bpfoster commented Apr 2, 2024

Treat label selectors as an AND, not an 'at least 1' match.

Add unit test to cover case.

Fixes #302

Treat label selectors as an AND, not an 'at least 1' match
@derailed derailed added the bug Something isn't working label Apr 2, 2024
Copy link
Owner

@derailed derailed left a comment

Choose a reason for hiding this comment

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

@bpfoster Great catch! Thank you for this update.

@derailed derailed merged commit d09ec25 into derailed:master Apr 2, 2024
3 checks passed
@bpfoster bpfoster deleted the issue-302 branch April 2, 2024 23:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Label selector for services does not work correctly with multiple selectors
2 participants