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

Allow generation of schema types for any schema #403

Open
olensmar opened this issue Jun 19, 2023 · 0 comments
Open

Allow generation of schema types for any schema #403

olensmar opened this issue Jun 19, 2023 · 0 comments
Labels

Comments

@olensmar
Copy link
Member

olensmar commented Jun 19, 2023

I would like to create a validator for kustomization files - but the codegen requires a CRD to generate schema types. Suggest we support generation of types for any json-schema provided in a src/schemas/plain folder - named after the schema file itself.

Follow-up question is if we should support parsing/validation of any YAML file - in which case the Resource object would have to be modified accordingly and name, apiVersion, kind would be optional?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant