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

Write output to directory #59

Open
sl4vr opened this issue May 20, 2020 · 2 comments
Open

Write output to directory #59

sl4vr opened this issue May 20, 2020 · 2 comments
Labels
enhancement New feature or request

Comments

@sl4vr
Copy link
Contributor

sl4vr commented May 20, 2020

Since k8t knows which template comes from which file it would be handy to be able to create manifests file structure in specified directory.

@sl4vr sl4vr added the enhancement New feature or request label May 20, 2020
@AFriemann
Copy link
Member

I'm not sure I get the idea. Could you elaborate @sl4vr ?

@sl4vr
Copy link
Contributor Author

sl4vr commented Jun 16, 2020

@AFriemann, k8t compiles all templates into standard output now. I suggest
if --output=DIRECTORY specified, k8t would create corresponding file for every template and write it in specified directory. If template's name is nested, then k8t would also create all required sub-directories.
It's pretty useless for production, when you want to just pipe output to kubectl apply, but should be pretty handy to review all the manifests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants