remove debug logs for merged kubeconfig as they add too much noise

pull/670/head
iwilltry42 3 years ago committed by Thorsten Klein
parent d15ed26875
commit 5ce9f82428
  1. 7
      pkg/client/kubeconfig.go

@ -278,13 +278,6 @@ func KubeconfigMerge(ctx context.Context, newKubeConfig *clientcmdapi.Config, ex
existingKubeConfig.CurrentContext = newKubeConfig.CurrentContext
}
kubeconfigYaml, err := clientcmd.Write(*existingKubeConfig)
if err != nil {
log.Debugf("Merged Kubeconfig:\n%+v", existingKubeConfig)
} else {
log.Tracef("Merged Kubeconfig:\n%s", kubeconfigYaml)
}
return KubeconfigWrite(ctx, existingKubeConfig, outPath)
}

Loading…
Cancel
Save