Skip to content

Commit

Permalink
drop creating /kind dir at node-image build time
Browse files Browse the repository at this point in the history
  • Loading branch information
BenTheElder committed Feb 13, 2024
1 parent 335a10c commit 3e2765a
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions pkg/build/nodeimage/buildcontext.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,13 +96,6 @@ func (c *buildContext) buildImage(bits kube.Bits) error {

c.logger.V(0).Info("Building in container: " + containerID)

// make artifacts directory
// TODO: remove this after the next release, we pre-create this in the base image now
if err = cmder.Command("mkdir", "-p", "/kind/").Run(); err != nil {
c.logger.Errorf("Image build Failed! Failed to make directory %v", err)
return err
}

// copy artifacts in
for _, binary := range bits.BinaryPaths() {
// TODO: probably should be /usr/local/bin, but the existing kubelet
Expand Down

0 comments on commit 3e2765a

Please sign in to comment.