kube-render
kube-render copied to clipboard
WIP: Better output for under the hood `kubectl apply` command
Currenlty if we use kube-render
with --apply
and the implicit kubectl apply
commands fail we have no output informing the user about the error. This commit makes apply_template
returns default return codes (0 for success and 1 for errors) and uses sys.stderr
and sys.stdout
to show to the user the output of the kubectl apply
command.