Skip to content
This repository has been archived by the owner on Jun 14, 2024. It is now read-only.

WIP: Better output for under the hood kubectl apply command #10

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

cuducos
Copy link

@cuducos cuducos commented Apr 22, 2019

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.

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.
@cuducos cuducos changed the title Better output for under the hood kubectl apply command WIP: Better output for under the hood kubectl apply command Apr 22, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants