Replies: 2 comments
-
The benefit of something like this is it would allow me to model all the data in YTT |
Beta Was this translation helpful? Give feedback.
0 replies
-
You could compose it with yq's ability to split documents into files. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I understand that
ytt
was designed very much with the idea of piping to k8s in mind. That said, I am really finding it useful for generating any yaml documents that are written to the file system. I would really love it if there was a way to output to specific files. Theoutput-files
does a good job of creating separate files that match the input files. However, it won't create separate files for each document (split by---
). I was considering to build a tool that takes piped yaml and looks for---
and then uses metadata to determine where the files should be written to. Is this something you would ever want to be able to do inytt
or would I be better to look at creating a new tool that works alongsideytt
for this specific use case?Beta Was this translation helpful? Give feedback.
All reactions