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

Create schema from multiple files #14

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

Create schema from multiple files #14

estahn opened this issue Apr 10, 2021 · 1 comment

Comments

@estahn
Copy link

estahn commented Apr 10, 2021

Not all values are written out in values.yaml but most of them are commented. A good practise is to create test cases with various values. Therefore a good option to get a more complete schema would to combine all the value files and generate the schema based on those.

We have the following files in our helm charts:

./values.yaml
./ci/test-values.yaml
./ci/some-test-case.yaml

Merge files and create a schema from merged file.

This can already be achieved via yq merge but would be good to have built-in.

@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