code: func resetConfigDir(configPathDir, pkiPathDir string) {
  	dirsToClean := []string{
  		filepath.Join(configPathDir, kubeadmconstants.ManifestsSubDirName),
  		pkiPathDir,
  	}
  	fmt.Printf("[reset] Deleting contents of config directories: %v\n", dirsToClean)
  	for _, dir := range dirsToClean {
  		if err := cleanDir(dir); err != nil {
  			klog.Errorf("[reset] Failed to remove directory: %q [%v]\n", dir, err)
  		}
  	}
  
  	filesToClean := []string{
  		filepath.Join(configPathDir, kubeadmconstants.AdminKubeConfigFileName),
  		filepath.Join(configPathDir, kubeadmconstants.KubeletKubeConfigFileName),
  		filepath.Join(configPathDir, kubeadmconstants.KubeletBootstrapKubeConfigFileName),
  		filepath.Join(configPathDir, kubeadmconstants.ControllerManagerKubeConfigFileName),
  		filepath.Join(configPathDir, kubeadmconstants.SchedulerKubeConfigFileName),
  	}
  	fmt.Printf("[reset] Deleting files: %v\n", filesToClean)
  	for _, path := range filesToClean {
  		if err := os.RemoveAll(path); err != nil {
  			klog.Errorf("[reset] Failed to remove file: %q [%v]\n", path, err)
  		}
  	}
  }
docs: // resetConfigDir is used to cleanup the files kubeadm writes in /etc/kubernetes/.