Merge pull request #721 from Liujingfang1/filename

support different filenames for kustomization file
This commit is contained in:
Jeff Regan
2019-01-25 14:34:06 -08:00
committed by GitHub
10 changed files with 50 additions and 38 deletions

View File

@@ -162,7 +162,7 @@ func TestGitLoader(t *testing.T) {
fSys.MkdirAll(coRoot)
fSys.MkdirAll(coRoot + "/" + pathInRepo)
fSys.WriteFile(
coRoot+"/"+pathInRepo+"/"+constants.KustomizationFileName,
coRoot+"/"+pathInRepo+"/"+constants.KustomizationFileNames[0],
[]byte(`
whatever
`))