1
0
mirror of https://github.com/rancher/rke.git synced 2025-09-15 22:49:13 +00:00

Add util command

This commit is contained in:
Sebastiaan van Steenis
2020-09-28 14:59:44 +02:00
parent 91aed199f0
commit a68a64c0ce
8 changed files with 351 additions and 19 deletions

View File

@@ -183,6 +183,7 @@ func doRunDeployer(ctx context.Context, host *hosts.Host, containerEnv []string,
func DeployAdminConfig(ctx context.Context, kubeConfig, localConfigPath string) error {
if len(kubeConfig) == 0 {
logrus.Infof("kubeConfig is empty")
return nil
}
logrus.Debugf("Deploying admin Kubeconfig locally at [%s]", localConfigPath)