Add start of document "---" in the beginning of outputed YAML document
- Dominant language
- Go
- Stars
- 1.9k
- Forks
- 167
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the problem/challenge you have**
YAML output produced by YTT don't include the start of document `---` in the beginning (first document).
Assuming I generate file-1.yml and file-2.yml with YTT, I'm used to do things like `cat file-1.yml file-2.yml | kubectl apply -f -` but since file-2.yml doesn't start with `---` it doesn't work.
**Describe the solution you'd like**
Either add a flag to YTT to include `---` on beginning of every document (even the first one), or make this behavior default.
**Anything else you would like to add:**
No
---
Vote on this request
This is an invitation to the community to vote on issues, to help us prioritize our backlog. Use the "smiley face" up to the right of this comment to vote.
👍 "I would like to see this addressed as soon as possible"
👎 "There are other more important things to focus on right now"
We are also happy to receive and review Pull Requests if you want to help working on this issue.
Contributor guide
Assessment
This issue has not been assessed yet.