This repository has been archived by the owner on Nov 1, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Harden yaml stream parsing of manifests files
Flux choked end-of-document markers (`...`). To avoid complicating the existing multidoc parser (stolen from kubernetes) I abused go-yaml's Decoder to obtain the raw documents from the stream by unmarshalling to an interface{} and marshalling again.
- Loading branch information
Alfonso Acosta
committed
Apr 13, 2019
1 parent
2c0176c
commit f97508e
Showing
2 changed files
with
40 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters