crc-org / crc-extension

Red Hat OpenShift Local Extension for integration of OpenShift Local clusters with Podman Desktop
Apache License 2.0
13 stars 16 forks source link

[RFE] add option where user can select path to crc binary #5

Open odockal opened 1 year ago

odockal commented 1 year ago

I am usually picking up custom location where I install crc (linux, windows), it would be nice to offer a user a way to setup crc which is not on PATH.

Provide a input field in CRC extension page for crc binary.

gbraad commented 1 year ago

We have considered this, but since it was decided to implement a guided dlow, this only utlizes the installer. Which means that the executable will always be available at:

https://github.com/crc-org/crc-extension/blob/f975968de77c148687b4165332c7e2d244b0ff73/src/crc-cli.ts#L26

and

https://github.com/crc-org/crc-extension/blob/f975968de77c148687b4165332c7e2d244b0ff73/src/crc-cli.ts#L25

A custom location is currently not possible from the guided MSI flow.

We might implement this at some later time.

anjannath commented 1 week ago

I think adding a way to select the location to the crc binary would be useful atleast on macOS and Linux, currently the podman and Lima extension has this option, called as Path (Custom path to Podman binary (Default is blank))

image