Skip to content

Commit

Permalink
Merge pull request #3490 from sklarsa/steve/fix-extending-cli-docs
Browse files Browse the repository at this point in the history
馃摉 Updates extending kubebuilder docs to use NewBundleWithOptions
  • Loading branch information
k8s-ci-robot committed Jul 11, 2023
2 parents d5b4e55 + da53ed5 commit c2fbb3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/book/src/plugins/extending-cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ var (
// GetPluginsCLI returns the plugins based CLI configured to be used in your CLI binary
func GetPluginsCLI() (*cli.CLI) {
// Bundle plugin which built the golang projects scaffold by Kubebuilder go/v3
gov3Bundle, _ := plugin.NewBundle(plugin.WithName(golang.DefaultNameQualifier),
gov3Bundle, _ := plugin.NewBundleWithOptions(plugin.WithName(golang.DefaultNameQualifier),
plugin.WithVersion(plugin.Version{Number: 3}),
plugin.WithPlugins(kustomizecommonv1.Plugin{}, golangv3.Plugin{}),
)
Expand Down

0 comments on commit c2fbb3e

Please sign in to comment.