Skip to content

Commit

Permalink
Merge pull request #1376 from BenTheElder/no-build-base
Browse files Browse the repository at this point in the history
remove kind build base-image
  • Loading branch information
k8s-ci-robot authored Feb 29, 2020
2 parents 5584f93 + 8d628e9 commit a5aac36
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 200 deletions.
125 changes: 0 additions & 125 deletions pkg/build/base/base.go

This file was deleted.

70 changes: 0 additions & 70 deletions pkg/cmd/kind/build/baseimage/baseimage.go

This file was deleted.

6 changes: 2 additions & 4 deletions pkg/cmd/kind/build/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ import (
"github.com/spf13/cobra"

"sigs.k8s.io/kind/pkg/cmd"
"sigs.k8s.io/kind/pkg/cmd/kind/build/baseimage"
"sigs.k8s.io/kind/pkg/cmd/kind/build/nodeimage"
"sigs.k8s.io/kind/pkg/log"
)
Expand All @@ -32,11 +31,10 @@ func NewCommand(logger log.Logger, streams cmd.IOStreams) *cobra.Command {
Args: cobra.NoArgs,
// TODO(bentheelder): more detailed usage
Use: "build",
Short: "Build one of [base-image, node-image]",
Long: "Build the base node image (base-image) or the node image (node-image)",
Short: "Build one of [node-image]",
Long: "Build one of [node-image]",
}
// add subcommands
cmd.AddCommand(baseimage.NewCommand(logger, streams))
cmd.AddCommand(nodeimage.NewCommand(logger, streams))
return cmd
}
2 changes: 1 addition & 1 deletion pkg/cmd/kind/build/nodeimage/nodeimage.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ func NewCommand(logger log.Logger, streams cmd.IOStreams) *cobra.Command {
// TODO(bentheelder): more detailed usage
Use: "node-image",
Short: "Build the node image",
Long: "Build the node image which contains kubernetes build artifacts and other kind requirements",
Long: "Build the node image which contains Kubernetes build artifacts and other kind requirements",
RunE: func(cmd *cobra.Command, args []string) error {
return runE(logger, flags)
},
Expand Down

0 comments on commit a5aac36

Please sign in to comment.