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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user