Skip to content

Commit

Permalink
Enhance plugin resolution algorithm
Browse files Browse the repository at this point in the history
  • Loading branch information
Adirio committed Mar 1, 2021
1 parent 2173c50 commit dce37c5
Show file tree
Hide file tree
Showing 18 changed files with 847 additions and 833 deletions.
2 changes: 1 addition & 1 deletion cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@ func main() {
c, err := cli.New(
cli.WithCommandName("kubebuilder"),
cli.WithVersion(versionString()),
cli.WithDefaultProjectVersion(cfgv3.Version),
cli.WithPlugins(
&pluginv2.Plugin{},
&pluginv3.Plugin{},
&declarativev1.Plugin{},
),
cli.WithDefaultPlugins(&pluginv3.Plugin{}),
cli.WithDefaultProjectVersion(cfgv3.Version),
cli.WithCompletion(),
)
if err != nil {
Expand Down
Loading

0 comments on commit dce37c5

Please sign in to comment.