Ignore non CRD files in directories used in --local-crds #110
Labels
good first issue
Denotes an issue ready for a new contributor, according to the "help wanted" guidelines.
kind/bug
Categorizes issue or PR as related to a bug.
What happened?
I ran into an issue recently, when the --local-crds directory contains non CRD files.
What did you expect to happen?
Non CRD file shout have been ignored and k8s manifest been validated
How can we reproduce it (as minimally and precisely as possible)?
Just place your resource manifests and CRDs in the same directory.
For example place a crd and a pdb in the same directory "test":
Run kubectl-validate:
Anything else we need to know?
No response
Kubernetes version
The text was updated successfully, but these errors were encountered: