-
Notifications
You must be signed in to change notification settings - Fork 272
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
Expose kubectl and helm #10
Comments
Please make sure not to overwrite an installed tool with a symlink; the user might already manage these commandline tools using a package manager like homebrew or MacPorts. So just toggling a checkbox should not overwrite a file without at least a confirmation dialog. |
I would go do far as to say that if a user as something already installed the option should be greyed out and there should be a note saying the tool is already installed and managed elsewhere. |
Alternate implementation idea: instead of symlinking the executables to These paths will be added automatically to the PATH via
For example VMware Fusion is using this approach:
If people have their own versions in Thoughts? |
@jandubois I've never used this method before. Three thoughts come to mind...
|
@ericpromislow The Rancher Dashboard has a checkbox component. It uses jQuery so I'd want to alter it for our use. But, the setup and styles would help us to keep the design in line with the Rancher Dashboard UI. |
@mattfarina I agree that there are pros and cons to each method; I have no clear opinion on which one is preferable.
So we'll get additional complexity when updating RD and there are still symlinks to the previous install in place. We need special logic to allow overriding symlinks to our own previous install, but not symlinks to others? I guess you can always allow replacing of dangling symlinks, but either way, it can get confusing. Ideally the GUI will have logic to analyze the current setup and then provide assistance about conflicting configuration etc, but that should not be part of the initial implementation. A "Config Wizard" :) |
I'll start off bringing over the dashboard component and vueifying it. And I'll assume we'll implement the original symlinks story and then modify as we learn more. |
So the linking only happens if there is no instance of the executable, linked or not, in /usr/local/bin Unlinking is done only if the executable is a link pointing at the app's own executable. In other words, we created that link. |
Closing as this has been implemented. |
…l-vm-addr Include wsl vm addr
…l-vm-addr Include wsl vm addr
TapDeviceIP requires net IPV4 format
Through the preference UI, provide checkboxes to symlink kubectl and helm to /usr/local/bin on mac.
The goal of this is to provide the users with access to these tools. Eventually we will have other applications to expose here.
The text was updated successfully, but these errors were encountered: