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

Compatible ResourceTypeMatcher with exact match for core #1394

Merged
merged 2 commits into from
Apr 21, 2022

Conversation

ewhamilton
Copy link
Contributor

Change Overview

This PR replaces #1390 to maintain compatibility for prior uses of empty group as matching
any group. This maintains consistency for empty values of G, V, or R. And it allows ResourceTypeRequirements with just a resource value to filter from GVR lists when it is unambiguous.

A new sentinel value of "core" is added that can be used to strictly match GVRs for K8s
core group resources.

Pull request type

Please check the type of change your PR introduces:

  • 🌻 Feature
  • 🤖 Test

Issues

  • #XXX

Test Plan

  • 💪 Manual
  • ⚡ Unit test
  • 💚 E2E

@ewhamilton
Copy link
Contributor Author

Please hold off kueue-ing until downstream test fixes are ready, if possible.

Copy link
Contributor

@onkarbhat onkarbhat left a comment

Choose a reason for hiding this comment

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

LGTM

@shuguet shuguet added this to In Progress in Kanister via automation Apr 21, 2022
@pavannd1 pavannd1 requested a review from ihcsim April 21, 2022 07:19
@mergify mergify bot merged commit 58d437a into master Apr 21, 2022
Kanister automation moved this from In Progress to Done Apr 21, 2022
@mergify mergify bot deleted the strict-and-compatible branch April 21, 2022 17:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Development

Successfully merging this pull request may close these issues.

None yet

2 participants