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

Values flag from stdin #105

Closed
famfop opened this issue May 22, 2024 · 1 comment
Closed

Values flag from stdin #105

famfop opened this issue May 22, 2024 · 1 comment
Assignees

Comments

@famfop
Copy link

famfop commented May 22, 2024

We would like to use the README-generator for our special case where we have multiple helm-repositories, each with their own values.yaml file. We would like to "condense" the different parameters into a single README-file.

This does indeed work, if we firstly concat all the values.yaml files into one and the let the generator use that yaml (it even understands multiple mentions of the same section and sorts them together!).

Is it possible to pipe the values.yaml from stdin? That way, we could pipe all values.yaml's into one call. If not, what would be the intended way to do what we are trying to do?

@famfop
Copy link
Author

famfop commented Jun 3, 2024

This may be closed. I was missunderstanding how to use the tool / pre-commit. I guess the "preferred" way is to have one README per values file. With the pre-commit hook I can simply add multiple such "mappings".

It would theoretically be an option to fill one README with multiple values.yamls but then it only makes sense, if each values file sets its own sections. Then it should work to cat all files into one big yaml and the run the generator on that file.

@famfop famfop closed this as completed Jun 3, 2024
@github-actions github-actions bot added the solved label Jun 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants