k8t
k8t copied to clipboard
Write output to directory
Since k8t knows which template comes from which file it would be handy to be able to create manifests file structure in specified directory.
I'm not sure I get the idea. Could you elaborate @sl4vr ?
@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.