Skip to content

Commit 3034c01

Browse files
committed
improve kustomize config name handling
1 parent e4b925a commit 3034c01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/update/filereader.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ func (r *ScreeningLocalReader) Read() ([]*yaml.RNode, error) {
9393
return nil
9494
}
9595

96-
if ext := filepath.Ext(p); ext != ".yaml" && ext != ".yml" {
96+
if ext := filepath.Ext(p); ext != ".yaml" && ext != ".yml" && filepath.Base(p) != "Kustomization" {
9797
return nil
9898
}
9999

0 commit comments

Comments
 (0)