mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
kubeadm cleanup: master -> control-plane
update pul request
This commit is contained in:
parent
33f907a4df
commit
81c30cbeb0
@ -45,9 +45,9 @@ func SetupTempDir(t *testing.T) string {
|
||||
return tmpdir
|
||||
}
|
||||
|
||||
// SetupInitConfigurationFile is a utility function for kubeadm testing that writes a master configuration file
|
||||
// SetupInitConfigurationFile is a utility function for kubeadm testing that writes a InitConfiguration file
|
||||
// into /config subfolder of a given temporary directory.
|
||||
// The function returns the path of the created master configuration file.
|
||||
// The function returns the path of the created InitConfiguration file.
|
||||
func SetupInitConfigurationFile(t *testing.T, tmpdir string, cfg *kubeadmapi.InitConfiguration) string {
|
||||
|
||||
cfgPath := filepath.Join(tmpdir, "config/masterconfig.yaml")
|
||||
|
Loading…
Reference in New Issue
Block a user