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

Add parameter to output stricter schema #13

Open
estahn opened this issue Apr 10, 2021 · 1 comment
Open

Add parameter to output stricter schema #13

estahn opened this issue Apr 10, 2021 · 1 comment

Comments

@estahn
Copy link

estahn commented Apr 10, 2021

I would like to have the ability to run the tool and get a schema that already has "additionalProperties": false, defined for all objects. In this case, I can run helm lint against various values files and already see it failing.

helm schema-gen --strict values.yaml
@karuppiah7890
Copy link
Owner

Hey! Sorry, I have been caught up with multiple things, so I have not been able to reply to issues / write code for this project. I'm not exactly planning on building more into the tool. This was more of a side project 😅 To be fair, I wasn't even using this at work because at the time I wrote the tool, we were still using Helm v2. I had just written the tool wondering that we could try using it / taking it for a spin when we want to migrate to Helm v3 and try using the schema feature

I would recommend forking and using the repo, I'm guessing you or others might already be doing this

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

No branches or pull requests

2 participants