Send output of kustomize to tempfile 87/1187/2
authorYolanda Robla <yroblamo@redhat.com>
Mon, 15 Jul 2019 08:46:43 +0000 (10:46 +0200)
committerYolanda Robla <yroblamo@redhat.com>
Mon, 15 Jul 2019 09:03:38 +0000 (11:03 +0200)
commitfe4e45658187131675d2e9e4a78f8e3710cadeaa
tree2312ea54b7ba005762be32599b41dac62f0548a8
parent63fa557926a78257ddcaf503f7efbb808859f830
Send output of kustomize to tempfile

There is an issue with pipes when running on a ci
system like jenkins. So instead of relying on stdin pipe,
send the output to a tmp file and apply from there.

Signed-off-by: Yolanda Robla <yroblamo@redhat.com>
Change-Id: Ic2d0513acadd2554f8739d31ad7fec0117dd3339
pkg/utils/utils.go