@@ -91,7 +91,7 @@ func ParseChart(fsys fs.FS, chartPath string, parent *Chart) (*Chart, error) {
91
91
}
92
92
93
93
if chart .metadata .Type == ChartTypeApplication {
94
- crds , err := fileutils .Find (fsys , filepath .Clean (chartPath + "/crds" ), "*.yaml" , fileutils .FileTypeRegular | fileutils . FileTypeSymlink , 0 )
94
+ crds , err := fileutils .Find (fsys , filepath .Clean (chartPath + "/crds" ), "*.yaml" , fileutils .FileTypeRegular , 0 )
95
95
if err != nil {
96
96
return nil , err
97
97
}
@@ -103,7 +103,7 @@ func ParseChart(fsys fs.FS, chartPath string, parent *Chart) (*Chart, error) {
103
103
chart .crds = append (chart .crds , raw )
104
104
}
105
105
106
- manifests , err := fileutils .Find (fsys , filepath .Clean (chartPath + "/templates" ), "[^_]*.yaml" , fileutils .FileTypeRegular | fileutils . FileTypeSymlink , 0 )
106
+ manifests , err := fileutils .Find (fsys , filepath .Clean (chartPath + "/templates" ), "[^_]*.yaml" , fileutils .FileTypeRegular , 0 )
107
107
if err != nil {
108
108
return nil , err
109
109
}
@@ -114,7 +114,7 @@ func ParseChart(fsys fs.FS, chartPath string, parent *Chart) (*Chart, error) {
114
114
}
115
115
}
116
116
117
- includes , err := fileutils .Find (fsys , filepath .Clean (chartPath + "/templates" ), "_*" , fileutils .FileTypeRegular | fileutils . FileTypeSymlink , 0 )
117
+ includes , err := fileutils .Find (fsys , filepath .Clean (chartPath + "/templates" ), "_*" , fileutils .FileTypeRegular , 0 )
118
118
if err != nil {
119
119
return nil , err
120
120
}
@@ -125,7 +125,7 @@ func ParseChart(fsys fs.FS, chartPath string, parent *Chart) (*Chart, error) {
125
125
}
126
126
127
127
chart .files = Files {}
128
- files , err := fileutils .Find (fsys , filepath .Clean (chartPath ), "" , fileutils .FileTypeRegular | fileutils . FileTypeSymlink , 0 )
128
+ files , err := fileutils .Find (fsys , filepath .Clean (chartPath ), "" , fileutils .FileTypeRegular , 0 )
129
129
if err != nil {
130
130
return nil , err
131
131
}
0 commit comments