Skip to content

Commit 567ca08

Browse files
committed
Revert "Deploy router controller resource from bundle"
This reverts commit 7cf9765. Looks like in the bundle, route controller resource does not have the vaild service account and because of that `/etc/hosts` file not updated as expected, which become blocker issue for current 2.22.0 release. This PR revert it and we will put it back after it is resolved on snc side. - crc-org/snc#747
1 parent 1e6cd2b commit 567ca08

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

pkg/crc/machine/start.go

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -919,13 +919,6 @@ func logBundleDate(crcBundleMetadata *bundle.CrcBundleInfo) {
919919
}
920920

921921
func ensureRoutesControllerIsRunning(sshRunner *crcssh.Runner, ocConfig oc.Config, preset crcPreset.Preset, bundleInfo *bundle.CrcBundleInfo) error {
922-
// Check if the bundle have `/opt/crc/route_controller.yaml` file and if it has
923-
// then use it to create the resource for router controller.
924-
if _, _, err := sshRunner.Run("ls", "/opt/crc/route_controller.yaml"); err == nil {
925-
_, _, err := ocConfig.RunOcCommand("apply", "-f", "/opt/crc/route_controller.yaml")
926-
return err
927-
}
928-
// TODO: Remove this resource creation after crc 2.24 release
929922
bin, err := json.Marshal(v1.Pod{
930923
TypeMeta: metav1.TypeMeta{
931924
Kind: "Pod",

0 commit comments

Comments
 (0)