-
Notifications
You must be signed in to change notification settings - Fork 2.3k
feat: Detect no matching resources #5917
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
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Could we include some tests for this change?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I have added a test for the change here: https://github.com/kubernetes-sigs/kustomize/pull/5917/files#diff-08aa260c0029be90fe08448a134735f879c3aec100f88c5b7275090c0a84228dR1276 Should it be somewhere else? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is changing an existing test. Perhaps it would be better to keep it as-is, making only the necessary changes to pass with the current API changes, and add a new test to cover the new feature?
I'm also a bit confused about the removal of line 156.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh my bad, I thought it wouldn't make a difference if I change a bit the test.
I'll revert this change.