1 parent 7a73ded commit b0d39ccCopy full SHA for b0d39cc
1 file changed
pkg/genericclioptions/builder_flags.go
@@ -56,10 +56,11 @@ func NewResourceBuilderFlags() *ResourceBuilderFlags {
56
// WithFile sets the FileNameFlags.
57
// If recurse is set, it will process directory recursively. Useful when you want to manage related manifests
58
// organized within the same directory.
59
-func (o *ResourceBuilderFlags) WithFile(recurse bool, files ...string) *ResourceBuilderFlags {
+func (o *ResourceBuilderFlags) WithFile(recurse bool, kustomize *string, files ...string) *ResourceBuilderFlags {
60
o.FileNameFlags = &FileNameFlags{
61
Usage: "identifying the resource.",
62
Filenames: &files,
63
+ Kustomize: kustomize,
64
Recursive: ptr.To(recurse),
65
}
66
0 commit comments