Skip to content
This repository has been archived by the owner on Dec 17, 2021. It is now read-only.

Support for CRD validation #57

Open
dwight-biddle opened this issue Apr 4, 2019 · 1 comment
Open

Support for CRD validation #57

dwight-biddle opened this issue Apr 4, 2019 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@dwight-biddle
Copy link

Is your feature request related to a problem? Please describe.
When I make a pull request that includes a CRD, I get a 404. I have tried forking the json schema repository, but creating the json schema files for each CRD and then maintaining the forked schema repository is cumbersome

Describe the solution you'd like
Ideally, I'd like a way to point at an open-api schema and use that for validation for a given CRD (perhaps as part of the kubevalidator.yaml config?)

Describe alternatives you've considered
I would be ok in the short term with disabling validation of CRDs, but not sure how that would work. Maybe a list of the names of CRDs as "excluded" in the kubevalidator.yaml?

@jnewland jnewland added this to the v0.0.3 milestone Apr 20, 2019
@jnewland jnewland added enhancement New feature or request good first issue Good for newcomers labels Apr 20, 2019
@jnewland
Copy link
Member

Maybe a list of the names of CRDs as "excluded" in the kubevalidator.yaml?

This sounds like a good approach for those that would prefer to ignore CRDs rather than maintain their own schema!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants