mirror of
https://github.com/argoproj/argo-cd
synced 2026-05-24 09:50:08 +00:00
Log manifest with debug log level (#999)
This commit is contained in:
parent
7750c359b9
commit
bc4c5d83ce
1 changed files with 1 additions and 0 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue