Skip to content

Commit 3e2765a

Browse files
committed
drop creating /kind dir at node-image build time
1 parent 335a10c commit 3e2765a

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

pkg/build/nodeimage/buildcontext.go

-7
Original file line numberDiff line numberDiff line change
@@ -96,13 +96,6 @@ func (c *buildContext) buildImage(bits kube.Bits) error {
9696

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

99-
// make artifacts directory
100-
// TODO: remove this after the next release, we pre-create this in the base image now
101-
if err = cmder.Command("mkdir", "-p", "/kind/").Run(); err != nil {
102-
c.logger.Errorf("Image build Failed! Failed to make directory %v", err)
103-
return err
104-
}
105-
10699
// copy artifacts in
107100
for _, binary := range bits.BinaryPaths() {
108101
// TODO: probably should be /usr/local/bin, but the existing kubelet

0 commit comments

Comments
 (0)