refactor: change temp kubeconfig to ~/.kubevpn/tmp

This commit is contained in:
fengcaiwen
2025-04-29 21:39:45 +08:00
parent 9ba873494f
commit ebaa4098f1
3 changed files with 49 additions and 3 deletions

View File

@@ -333,9 +333,9 @@ func SshJump(ctx context.Context, conf *SshConfig, flags *pflag.FlagSet, print b
return
}
if print {
plog.G(ctx).Infof("Use temporary kubeconfig: %s", path)
plog.G(ctx).Infof("Use temp kubeconfig: %s", path)
} else {
plog.G(ctx).Debugf("Use temporary kubeconfig: %s", path)
plog.G(ctx).Debugf("Use temp kubeconfig: %s", path)
}
return
}