Skip to content

Commit

Permalink
plugins: Fix KustomizeInflator plugin for non-glob paths
Browse files Browse the repository at this point in the history
Commit 6b99caa79 tried to fix glob handling but broke normal paths.
Fix that.

GitHub-PR: kubernetes-sigs#3.

Signed-off-by: Yannis Zarkadas <yanniszark@arrikto.com>
Reviewed-by: Dimitris Aragiorgis <dimara@arrikto.com>
  • Loading branch information
yanniszark committed Apr 7, 2021
1 parent f317950 commit ebdef24
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion plugin/builtin/KustomizeInflator.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion plugin/builtin/kustomizeinflator/KustomizeInflator.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ func expandKustomizationPaths(paths []string, kustPath string) ([]string, error)
} else {
// Handle normal path
p = filepath.Join(kustPath, p)
res = append(res)
res = append(res, p)
}
}
return res, nil
Expand Down

0 comments on commit ebdef24

Please sign in to comment.