diff --git a/pkg/skbn/kube.go b/pkg/skbn/kube.go index 915244b..6439d51 100644 --- a/pkg/skbn/kube.go +++ b/pkg/skbn/kube.go @@ -111,7 +111,7 @@ func DownloadFromK8s(iClient interface{}, path string) ([]byte, error) { return nil, err } namespace, podName, containerName, pathToCopy := initK8sVariables(pSplit) - command := fmt.Sprintf("cat %s", pathToCopy) + command := fmt.Sprintf("cp %s /dev/stdout", pathToCopy) attempts := 3 attempt := 0