chore: Generating CRDs supports multiple versions (#5497)

Generating CRDs supports multiple versions
This commit is contained in:
hongming
2023-01-31 15:23:12 +08:00
committed by GitHub
parent b5a070edeb
commit 129e6fbec3
58 changed files with 4061 additions and 4403 deletions

View File

@@ -58,7 +58,7 @@ func compare(actual *appv1beta1.Application, expects ...*appv1beta1.Application)
}
func TestGetListApplications(t *testing.T) {
e := &envtest.Environment{CRDDirectoryPaths: []string{filepath.Join("..", "..", "..", "..", "..", "config", "crds")}}
e := &envtest.Environment{CRDDirectoryPaths: []string{filepath.Join("..", "..", "..", "..", "..", "config", "ks-core", "crds")}}
cfg, err := e.Start()
if err != nil {
t.Fatal(err)