-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Command to install/remove symlink for oc and podman #15
Comments
symlinks from /usr/local to user home dir is a bit weird, what about systems with 2 users, in particular if they want to run different crc versions. |
I would not recommend it because then we are updating a binary path without user notice it. Assume I have production cluster of version |
Combined with crc-org/crc#2251, oc would come from a shared location.
Maybe we can add an option? If |
yup, only saw this issue after this one :) On Linux, it would still be installed in the user homedir, which should not block macos/windows improvements, but we also want the experience to be as consistent as possible/easy to document. |
this would override the users installed binaries and should therefore be an option that can be set from the installer; possible for MSI. |
One big pain with crc is the use of
crc oc-env
orcrc podman-env
.It brings nothing and it will be a good improvement to directly put
oc
andpodman
directly in the PATH of the user.When the crc VM is started, crc could install the symlink. When the VM is stopped, crc could remove (or restore it).
Same for podman.
The admin-helper can do this job:
The text was updated successfully, but these errors were encountered: