Log manifest with debug log level (#999)

This commit is contained in:
Alexander Matyushentsev 2019-01-09 15:19:20 -08:00 committed by GitHub
parent 7750c359b9
commit bc4c5d83ce
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -254,6 +254,7 @@ func runKubectl(kubeconfigPath string, namespace string, args []string, manifest
}
cmd := exec.Command("kubectl", cmdArgs...)
log.Info(cmd.Args)
log.Debug(string(manifestBytes))
cmd.Stdin = bytes.NewReader(manifestBytes)
out, err := cmd.Output()
if err != nil {