Closed monotek closed 2 months ago
Definitely a bug we want to fix.
In addition to this I think it also makes sense to default the local CRD source to the user provided yaml files. Especially now that we support multiple CRD file sources.
I can take a look at this
/assign should be fixed by #118
sorry @Schnides123 I ended up fixing this one myself
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