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

🐛 respect match-all label values #499

Merged
merged 2 commits into from
Feb 12, 2024
Merged

Conversation

pranavgaikwad
Copy link
Contributor

No description provided.

@pranavgaikwad pranavgaikwad added the cherry-pick/release-0.3 This PR should be cherry-picked to release-0.3 branch. label Feb 7, 2024
Copy link
Contributor

@shawn-hurley shawn-hurley left a comment

Choose a reason for hiding this comment

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

This behavior feels wrong to me, if someone sets a source they want, we should still limit to that source. if they want any sources, then they should have a selector that allows for it konveyor.io/source || konveyor.io/source=A will give you any rules that have the source label with no value, as well as rules with source value at A.

Unless I am missing something?

@pranavgaikwad
Copy link
Contributor Author

@shawn-hurley based on our discussion offline, are you convinced that this is correct or you are still looking for changes?

Copy link
Contributor

@shawn-hurley shawn-hurley left a comment

Choose a reason for hiding this comment

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

I do think that with this change, we need to make it clear how the empty label (label w/ no value. i.e konveyor.io/source) does in the docs.

I don't have a good other option, the use case makes sense.

@pranavgaikwad
Copy link
Contributor Author

@shawn-hurley I will update documentation in this PR itself

@pranavgaikwad pranavgaikwad marked this pull request as draft February 12, 2024 16:37
Signed-off-by: Pranav Gaikwad <[email protected]>
@pranavgaikwad pranavgaikwad marked this pull request as ready for review February 12, 2024 19:18
@pranavgaikwad
Copy link
Contributor Author

@shawn-hurley updated docs now.

@pranavgaikwad pranavgaikwad merged commit 6c8c947 into konveyor:main Feb 12, 2024
6 checks passed
github-actions bot pushed a commit that referenced this pull request Feb 12, 2024
Signed-off-by: Pranav Gaikwad <[email protected]>
Signed-off-by: Cherry Picker <[email protected]>
pranavgaikwad added a commit that referenced this pull request Feb 12, 2024
Signed-off-by: Pranav Gaikwad <[email protected]>
Signed-off-by: Cherry Picker <[email protected]>

Signed-off-by: Pranav Gaikwad <[email protected]>
Signed-off-by: Cherry Picker <[email protected]>
Co-authored-by: Pranav Gaikwad <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cherry-pick/release-0.3 This PR should be cherry-picked to release-0.3 branch.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants