···1010 # (presumably because we don't have some static system libraries it wants), and cross-compiling cgo on Darwin is a nightmare.
1111 #
1212 # Note that minikube can download (and cache) versions of localkube it needs on demand. Unfortunately, minikube's knowledge
1313- # of where it can download versions of localkube seems to rely on a json file that doesn't get updated as often as we'd like,
1414- # so for example it doesn't know about v1.5.3 even though there's a perfectly good version of localkube hosted there. So
1313+ # of where it can download versions of localkube seems to rely on a json file that doesn't get updated as often as we'd like. So
1514 # instead, we download localkube ourselves and shove it into the minikube binary. The versions URL that minikube uses is
1616- # currently https://storage.googleapis.com/minikube/k8s_releases.json. Note that we can't use 1.5.3 with minikube 0.17.1
1717- # expects to be able to pass it a command-line argument that it doesn't understand. v1.5.4 and higher should be fine. There
1818- # doesn't seem to ae any official release of localkube for 1.5.4 yet so I'm temporarily grabbing a version built from the
1919- # minikube CI server.
1515+ # currently https://storage.googleapis.com/minikube/k8s_releases.json
1616+1717+ localkube-version = "1.6.0";
2018 localkube-binary = fetchurl {
2121- url = "https://storage.googleapis.com/minikube-builds/1216/localkube";
2222- # url = "https://storage.googleapis.com/minikube/k8sReleases/v${kubernetes.version}/localkube-linux-amd64";
2323- sha256 = "1vqrsak7n045ci6af3rpgs2qwjnrqk8k7c3ax6wzli4m8vhsiv57";
1919+ url = "https://storage.googleapis.com/minikube/k8sReleases/v${localkube-version}/localkube-linux-amd64";
2020+ sha256 = "0zx0c9fwairvga1g1112l5g5pspm2m9wxb42qgfxfgyidywvirha";
2421 };
2522in buildGoPackage rec {
2623 pname = "minikube";
2724 name = "${pname}-${version}";
2828- version = "0.17.1";
2525+ version = "0.18.0";
29263027 goPackagePath = "k8s.io/minikube";
3128···3330 owner = "kubernetes";
3431 repo = "minikube";
3532 rev = "v${version}";
3636- sha256 = "1m61yipn0p3cfavjddhrg1rcmr0hv6k3zxvqqd9fisl79g0sdfsr";
3333+ sha256 = "0r8184xfsw7vvvmzhc18si582q41cnzka4ry151hwy56gmp2jyiw";
3734 };
38353936 # kubernetes is here only to shut up a loud warning when generating the completions below. minikube checks very eagerly