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 specifying a file/folder to output generated objects to #3

Open
liggitt opened this issue Sep 11, 2017 · 1 comment · May be fixed by #25
Open

Allow specifying a file/folder to output generated objects to #3

liggitt opened this issue Sep 11, 2017 · 1 comment · May be fixed by #25
Milestone

Comments

@liggitt
Copy link
Owner

liggitt commented Sep 11, 2017

Rather than writing output to stdout, allow specifying an output file

This is a prereq for generating intermediate results when processing a large or continuous audit stream

Could either generate everything into a single file, or generate a file per type (clusterroles, roles, clusterrolebindings, rolebindings)... not sure which is better.

When generating, would generate to a tmp file, then do an atomic move into place, so an apply loop operating on the file would never get a partially written file.

@sudermanjr
Copy link

Looking more into this tool, I love this idea.

I think one file per type would be preferable. It's much easier to consume from a human standpoint.

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

Successfully merging a pull request may close this issue.

2 participants