Merge pull request #508 from ryane/fix-507

kustomize build loads transformer configs when path argument omitted
This commit is contained in:
k8s-ci-robot
2018-10-26 11:10:14 -07:00
committed by GitHub

View File

@@ -96,9 +96,9 @@ func (o *buildOptions) Validate(args []string, p string, fs fs.FileSystem) error
}
if len(args) == 0 {
o.kustomizationPath = "./"
return nil
} else {
o.kustomizationPath = args[0]
}
o.kustomizationPath = args[0]
if p == "" {
return nil