Skip to content

Commit c2fbb3e

Browse files
authored
Merge pull request #3490 from sklarsa/steve/fix-extending-cli-docs
📖 Updates extending kubebuilder docs to use NewBundleWithOptions
2 parents d5b4e55 + da53ed5 commit c2fbb3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/book/src/plugins/extending-cli.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ var (
4242
// GetPluginsCLI returns the plugins based CLI configured to be used in your CLI binary
4343
func GetPluginsCLI() (*cli.CLI) {
4444
// Bundle plugin which built the golang projects scaffold by Kubebuilder go/v3
45-
gov3Bundle, _ := plugin.NewBundle(plugin.WithName(golang.DefaultNameQualifier),
45+
gov3Bundle, _ := plugin.NewBundleWithOptions(plugin.WithName(golang.DefaultNameQualifier),
4646
plugin.WithVersion(plugin.Version{Number: 3}),
4747
plugin.WithPlugins(kustomizecommonv1.Plugin{}, golangv3.Plugin{}),
4848
)

0 commit comments

Comments
 (0)