mirror of https://github.com/k3s-io/k3s
Merge pull request #39029 from kad/issue75
Automatic merge from submit-queue Fix cloud-config name in test case **What this PR does / why we need it**: fixes default cloud-config name in test cases for reset. **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: related to kubernetes/kubeadm#75 **Special notes for your reviewer**: **Release note**: ```release-note NONE ```pull/6/head
commit
67a3cd3a58
|
@ -86,7 +86,7 @@ func TestConfigDirCleaner(t *testing.T) {
|
|||
"manifests",
|
||||
},
|
||||
},
|
||||
"preserve cloud-config.json": {
|
||||
"preserve cloud-config": {
|
||||
setupDirs: []string{
|
||||
"manifests",
|
||||
"pki",
|
||||
|
@ -97,12 +97,12 @@ func TestConfigDirCleaner(t *testing.T) {
|
|||
"pki/ca.pem",
|
||||
"admin.conf",
|
||||
"kubelet.conf",
|
||||
"cloud-config.json",
|
||||
"cloud-config",
|
||||
},
|
||||
verifyExists: []string{
|
||||
"manifests",
|
||||
"pki",
|
||||
"cloud-config.json",
|
||||
"cloud-config",
|
||||
},
|
||||
},
|
||||
"preserve hidden files and directories": {
|
||||
|
@ -117,13 +117,13 @@ func TestConfigDirCleaner(t *testing.T) {
|
|||
"pki/ca.pem",
|
||||
"admin.conf",
|
||||
"kubelet.conf",
|
||||
".cloud-config.json",
|
||||
".cloud-config",
|
||||
".mydir/.myfile",
|
||||
},
|
||||
verifyExists: []string{
|
||||
"manifests",
|
||||
"pki",
|
||||
".cloud-config.json",
|
||||
".cloud-config",
|
||||
".mydir",
|
||||
".mydir/.myfile",
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue