Skip to content

Commit

Permalink
Enhance plugin resolution algorithm
Browse files Browse the repository at this point in the history
Signed-off-by: Adrian Orive <[email protected]>
  • Loading branch information
Adirio committed Mar 11, 2021
1 parent 1fbb697 commit eb18d57
Show file tree
Hide file tree
Showing 45 changed files with 1,307 additions and 957 deletions.
2 changes: 1 addition & 1 deletion cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,14 @@ 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(cfgv2.Version, &pluginv2.Plugin{}),
cli.WithDefaultPlugins(cfgv3.Version, &pluginv3.Plugin{}),
cli.WithDefaultProjectVersion(cfgv3.Version),
cli.WithCompletion(),
)
if err != nil {
Expand Down
Loading

0 comments on commit eb18d57

Please sign in to comment.