-
Notifications
You must be signed in to change notification settings - Fork 0
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
Expand Standard Values #3
Comments
copying issue from karuppiah7890/helm-schema-gen#4 |
new up to date repository https://github.com/yannh/kubernetes-json-schema |
playing off the comments from #5 we should be able to implement this by using a comment like # +schemagen:standard=resources we will need to define a kubernetes version so we may need to implement a global version # +schemagen:global:version=1.30 |
we also will not be able to just directly reference that repository unless we want some massive bloat in our codebase. So we may need to be selective on common fields that we add. To name a few:
|
A lot of helm charts follow standard values. Fields like serviceAccount, image, resources, etc...
It'd be cool if, either via a comment like # $type: resources, or just smart detection, schema gen could "fill-in" the schema for standard fields.
So resources would from
to
Could possibly use https://github.com/instrumenta/kubernetes-json-schema as an update to date src for these fields.
The text was updated successfully, but these errors were encountered: