fix(clustertool): ensure kubeconfig is created with force true by default
This commit is contained in:
@@ -55,7 +55,8 @@ func RunBootstrap(args []string) {
|
||||
|
||||
log.Info().Msgf("Bootstrap: Configuring kubeconfig/kubectl for VIP: %v", helper.TalEnv["VIP_IP"])
|
||||
// Ensure kubeconfig is loaded
|
||||
kubeconfigcmds := GenPlain("kubeconfig", helper.TalEnv["VIP_IP"], extraArgs)
|
||||
|
||||
kubeconfigcmds := GenPlain("kubeconfig", helper.TalEnv["VIP_IP"], []string{"-f"})
|
||||
ExecCmd(kubeconfigcmds[0])
|
||||
|
||||
// Desired pod names
|
||||
|
||||
Reference in New Issue
Block a user