r.output being a string generated by a yaml.MarshalStream of a list in release.#Release. This list contains Kubernetes definitions.
I've noticed that if I use yaml.Marshal(single-resource) it works. It does not work with a list comprehension + strings.Join (same error)
The command works if I replace exec.Run by cli.Print with proper changes (stdin --> text, remove cmd)
What did you expect to see?
Command executed with sucess (prints r.output content)
What did you see instead?
Prints r.output content then exit with error
runner of kind "XXX" not found
XXX being the kind value of the first resource displayed (e.g. Deployment)
What version of CUE are you using (
cue version
)?Does this issue reproduce with the latest release?
yes
What did you do?
I'm still trying to cut down my module in order to send something short that reproduces my issue.
r.output
being a string generated by ayaml.MarshalStream
of a list inrelease.#Release
. This list contains Kubernetes definitions.I've noticed that if I use
yaml.Marshal(single-resource)
it works. It does not work with a list comprehension +strings.Join
(same error) The command works if I replaceexec.Run
bycli.Print
with proper changes (stdin
-->text
, removecmd
)What did you expect to see?
Command executed with sucess (prints
r.output
content)What did you see instead?
Prints
r.output
content then exit with errorXXX being the
kind
value of the first resource displayed (e.g.Deployment
)