Skip to content

Commit fba489a

Browse files
committed
Start: use the router image as per openshift version for microshift preset
router controller images are cached in bundle as openshift version if it available for that specific version so better to use it. Also we need to remove that hack by putting this resource in bundle. - crc-org/snc#660
1 parent 2bce99d commit fba489a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/crc/machine/start.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -888,7 +888,7 @@ func ensureRoutesControllerIsRunning(sshRunner *crcssh.Runner, ocConfig oc.Confi
888888
}
889889

890890
func getRouterControllerImage(preset crcPreset.Preset, bundleInfo *bundle.CrcBundleInfo) string {
891-
if preset == crcPreset.OpenShift {
891+
if preset == crcPreset.OpenShift || preset == crcPreset.Microshift {
892892
return fmt.Sprintf("quay.io/crcont/routes-controller:%s", bundleInfo.GetOpenshiftVersion())
893893
}
894894
return "quay.io/crcont/routes-controller:latest"

0 commit comments

Comments
 (0)