add multi-arch images to kic driver list
parent
405ccc57df
commit
6044006afe
|
@ -26,15 +26,29 @@ const (
|
||||||
// Version is the current version of kic
|
// Version is the current version of kic
|
||||||
Version = "v0.0.15-snapshot4"
|
Version = "v0.0.15-snapshot4"
|
||||||
// SHA of the kic base image
|
// SHA of the kic base image
|
||||||
baseImageSHA = "ef1f485b5a1cfa4c989bc05e153f0a8525968ec999e242efff871cbb31649c16"
|
baseImageSHA = "ef1f485b5a1cfa4c989bc05e153f0a8525968ec999e242efff871cbb31649c16"
|
||||||
|
baseMultiArchImageSHA = "todo"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
// BaseImage is the base image is used to spin up kic containers. it uses same base-image as kind.
|
// BaseImage is the base image is used to spin up kic containers. it uses same base-image as kind.
|
||||||
BaseImage = fmt.Sprintf("gcr.io/k8s-minikube/kicbase:%s@sha256:%s", Version, baseImageSHA)
|
BaseImage = fmt.Sprintf("gcr.io/k8s-minikube/kicbase-multiarch:%s@sha256:%s", Version, baseMultiArchImageSHA)
|
||||||
|
|
||||||
// FallbackImages are backup base images in case gcr isn't available
|
// FallbackImages are backup base images in case gcr isn't available
|
||||||
FallbackImages = []string{
|
FallbackImages = []string{
|
||||||
|
|
||||||
|
// the fallback of multi-arch BaseImage in case gcr.io is not available. stored in docker hub
|
||||||
|
// same image is push to https://github.com/kicbase/stable
|
||||||
|
fmt.Sprintf("kicbase/stable-multiarch:%s@sha256:%s", Version, baseMultiArchImageSHA),
|
||||||
|
|
||||||
|
// the fallback of multi-arch BaseImage in case gcr.io is not available. stored in github packages https://github.com/kubernetes/minikube/packages/206071
|
||||||
|
// github packages docker does _NOT_ support pulling by sha as mentioned in the docs:
|
||||||
|
// https://help.github.com/en/packages/using-github-packages-with-your-projects-ecosystem/configuring-docker-for-use-with-github-packages
|
||||||
|
fmt.Sprintf("docker.pkg.github.com/kubernetes/minikube/kicbase-multiarch:%s", Version),
|
||||||
|
|
||||||
|
// the amd64 only base image is used to spin up kic containers
|
||||||
|
fmt.Sprintf("gcr.io/k8s-minikube/kicbase:%s@sha256:%s", Version, baseImageSHA),
|
||||||
|
|
||||||
// the fallback of BaseImage in case gcr.io is not available. stored in docker hub
|
// the fallback of BaseImage in case gcr.io is not available. stored in docker hub
|
||||||
// same image is push to https://github.com/kicbase/stable
|
// same image is push to https://github.com/kicbase/stable
|
||||||
fmt.Sprintf("kicbase/stable:%s@sha256:%s", Version, baseImageSHA),
|
fmt.Sprintf("kicbase/stable:%s@sha256:%s", Version, baseImageSHA),
|
||||||
|
|
Loading…
Reference in New Issue