Skip to content

Commit

Permalink
fix(capd): remove hack for btrfs/zfs support
Browse files Browse the repository at this point in the history
Support for btrfs/zfs was upstreamed to kind in kubernetes-sigs/kind#1464, removing the need
for us to hack support in ourselves.

Helps kubernetes-sigs#8317
  • Loading branch information
cannonpalms committed Nov 14, 2023
1 parent 75afbcb commit 93615b6
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions test/infrastructure/container/docker.go
Original file line number Diff line number Diff line change
Expand Up @@ -430,15 +430,6 @@ func (d *dockerRuntime) RunContainer(ctx context.Context, runConfig *RunContaine
}
containerConfig.Env = envVars

// handle Docker on Btrfs or ZFS
// https://github.com/kubernetes-sigs/kind/issues/1416#issuecomment-606514724
if d.mountDevMapper(info) {
runConfig.Mounts = append(runConfig.Mounts, Mount{
Source: "/dev/mapper",
Target: "/dev/mapper",
})
}

configureVolumes(runConfig, &containerConfig, &hostConfig)
configurePortMappings(runConfig.PortMappings, &containerConfig, &hostConfig)

Expand Down

0 comments on commit 93615b6

Please sign in to comment.