We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8293db5 commit b8907a3Copy full SHA for b8907a3
pkg/crds/crds.go
@@ -3,7 +3,7 @@ package crds
3
import (
4
"embed"
5
"fmt"
6
- "path/filepath"
+ "path"
7
8
"github.com/rancher/wrangler/v3/pkg/yaml"
9
apiextv1 "k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1"
@@ -44,7 +44,7 @@ func crdsFromDir(dirName string) (map[string]*apiextv1.CustomResourceDefinition,
44
45
allCRDs := map[string]*apiextv1.CustomResourceDefinition{}
46
for _, dirEntry := range crdFiles {
47
- fullPath := filepath.Join(dirName, dirEntry.Name())
+ fullPath := path.Join(dirName, dirEntry.Name())
48
if dirEntry.IsDir() {
49
// if the entry is the dir recurse into that folder to get all crds
50
subCRDs, err := crdsFromDir(fullPath)
0 commit comments