1620 Commits

Author SHA1 Message Date
Phillip Rak
5f4ddaea96 Add reset method
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2021-09-29 14:59:38 -07:00
Phillip Rak
f147b7cf32 Add translations for troubleshooting page
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2021-09-29 14:39:21 -07:00
Phillip Rak
882032be6a Create troubleshooting section
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2021-09-29 14:06:16 -07:00
Phillip Rak
f693c85fbc Convert pixel values to rem
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2021-09-29 13:59:22 -07:00
Phillip Rak
b14f91e3c5 Add section for getting more help
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2021-09-29 13:40:54 -07:00
Phillip Rak
1cd3a8ee59 Update description
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2021-09-29 13:40:34 -07:00
Phillip Rak
9788077b95 Add cannotReset computed
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2021-09-29 13:40:16 -07:00
Phillip Rak
36308356d6 Tighten up spacing
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2021-09-29 10:32:00 -07:00
Phillip Rak
bbab55cbf6 Add kubernetes section
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2021-09-29 10:31:40 -07:00
Phillip Rak
874f9e23ab Move factory reset below logs
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2021-09-29 10:23:50 -07:00
Phillip Rak
58c0f22ccc Add btn-danger class
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2021-09-29 10:22:53 -07:00
Phillip Rak
66bbd6ec9a Replace existing line items on troubleshooting page
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2021-09-29 08:15:52 -07:00
Phillip Rak
d238aba1ff Add component for displaying troubleshooting line items
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2021-09-29 08:14:43 -07:00
Mark Yen
3709d11531 K8s: Wait for node to be ready before finishing start.
Signed-off-by: Mark Yen <mark.yen@suse.com>
2021-09-28 16:17:02 -07:00
Phillip Rak
ebba3efca8 Create a header for troubleshooting
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2021-09-28 15:27:50 -07:00
Mark Yen
beb9a91881 WSL: More detailed progress notification.
Signed-off-by: Mark Yen <mark.yen@suse.com>
2021-09-28 14:18:10 -07:00
Mark Yen
e3894847ab Lima: More detailed progress notifications.
Signed-off-by: Mark Yen <mark.yen@suse.com>
2021-09-28 13:49:27 -07:00
Mark Yen
91911feaf8 Lima: remove unused import.
Signed-off-by: Mark Yen <mark.yen@suse.com>
2021-09-28 11:41:17 -07:00
Phillip Rak
1d4ba738ea Merge pull request #684 from rak-phillip/docs/windows-install
Update README: Building from source on Windows
2021-09-27 14:57:28 -07:00
Phillip Rak
98eb5e5661 Update building from source on Windows
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2021-09-27 14:07:38 -07:00
Matt Farina
f5c17516f4 Merge pull request #681 from mattfarina/fix-667
Remove code causing node roles to be deleted
v0.5.0
2021-09-27 14:00:29 -04:00
Matt Farina
d869fcba4f Remove code causing node roles to be deleted
At one point we renamed the instance from lima-rancher-desktop to
lima-0. The rancher-desktop and 0 are names passed to lima. The
full name shows up in the socket path which has a limited number
of characters. The shorter the name the better.

Recently, we set the host name back to rancher-desktop. This is
internal to the OS running on the node and not lima. This caused
the node name to again be lima-rancher-desktop.

The code deleted in this change removes the cleanup. The cleanup
was deleting the node. It was then being added back by k3s without
any roles on it.

Closes #667

Signed-off-by: Matt Farina <matt.farina@suse.com>
2021-09-27 13:42:27 -04:00
Matt Farina
6e09bc2b98 Merge pull request #672 from mook-as/docker-excise
Remove attempts to shim docker with nerdctl.
2021-09-27 10:31:40 -04:00
Mark Yen
cd8f3a5121 Remove attempts to shim docker with nerdctl.
At this point, nerdctl is missing too many features to be a good docker CLI
replacement; don't attempt to do so.

Signed-off-by: Mark Yen <mark.yen@suse.com>
2021-09-24 11:25:44 -07:00
Jan Dubois
63a8a9dbc9 Merge pull request #668 from rancher-sandbox/set-context
Use resources.executable to locate kubectl instead of using a relative path
2021-09-23 21:54:55 -07:00
Jan Dubois
5984b935c8 Use resources.executable to locate kubectl instead of using a relative path
The relative path doesn't work from the compiled app.

Signed-off-by: Jan Dubois <jan.dubois@suse.com>
2021-09-23 20:44:21 -07:00
Eric Promislow
9c37814904 Merge pull request #666 from rancher-sandbox/665-allow-unversioned-pseudo-docker
Stop checking docker for its version
2021-09-23 16:33:25 -07:00
Eric Promislow
b04f66123e Stop checking docker for its version
Signed-off-by: Eric Promislow <epromislow@suse.com>
2021-09-23 16:09:37 -07:00
Eric Promislow
44d8a1233f Merge pull request #664 from rancher-sandbox/663-refresh-docker-checkbox-warning
Refresh the docker warning each time integration warnings are refreshed.
2021-09-23 15:54:50 -07:00
Eric Promislow
cda5d29030 Refresh the docker warning each time integration warnings are refreshed.
If we only issue the warning at startup, it will be lost the first time the checkbox is pressed.

Signed-off-by: Eric Promislow <epromislow@suse.com>
2021-09-23 15:12:50 -07:00
Eric Promislow
10ec25839a Merge pull request #614 from rancher-sandbox/520b-fix-symlink-ui
Make the UI for macos symbolic links less clunky
2021-09-23 14:44:49 -07:00
Eric Promislow
fbb3d58908 Manually bring in docker-symlink-related changes
- This branch moved code got moved from lima.ts into a new file, and
  rebasing on main naturally won't copy over other changes in lima.ts.
  Fortunately there were only two small changes.

Signed-off-by: Eric Promislow <epromislow@suse.com>
2021-09-23 14:17:04 -07:00
Eric Promislow
501bfeb7e8 Two changes: names & remove a check to reduce multiple notifications
1. Replace some embedded strings with named constants

2. When the user clicks a checkbox to toggle the presence of symlink /usr/local/bin/X,
   allow the file-system notifier to process the change in /usr/local/bin -- this gives
   a duplicate notification, but it shouldn't impact performance.  The alternative is to
   try to prevent the duplicate, but that leads to a race condition.

Signed-off-by: Eric Promislow <epromislow@suse.com>
2021-09-23 13:52:42 -07:00
Eric Promislow
f56b41c102 The third type argument is used only on Windows
This file is for Unix-like OSes only.

Signed-off-by: Eric Promislow <epromislow@suse.com>
2021-09-23 13:52:41 -07:00
Eric Promislow
985138ce54 give nerdctl a bogus version
Signed-off-by: Eric Promislow <epromislow@suse.com>
2021-09-23 13:52:41 -07:00
Eric Promislow
0b1184a49e Avoid multiple calls to updating integrations state
- When the user clicks on a box to link a tool into
  /usr/local/bin, this triggers the file-system watcher.  But in this
  case, it won't tell us anything new, so ignore this change.

Signed-off-by: Eric Promislow <epromislow@suse.com>
2021-09-23 13:52:41 -07:00
Eric Promislow
f216bcffa6 Make local methods protected
Signed-off-by: Eric Promislow <epromislow@suse.com>
2021-09-23 13:52:41 -07:00
Eric Promislow
c6382265b0 whitespace fixes
Signed-off-by: Eric Promislow <epromislow@suse.com>
2021-09-23 13:52:41 -07:00
Eric Promislow
75b1492486 MacOS Integrations: Distinguish global errors from tool-specific ones
* If there's an issue involving /usr/local/bin, give an explanatory error
  message and disable all the checkboxes
* Move the lima-specific code for handling integrations into `unixlikeIntegrations.ts'
  because we keep switching our macos backends, but this part shouldn't change

Signed-off-by: Eric Promislow <epromislow@suse.com>
2021-09-23 13:52:41 -07:00
Eric Promislow
c9e6808c0c Bring in updated version of Banner.vue from Dashboard
Signed-off-by: Eric Promislow <epromislow@suse.com>
2021-09-23 13:52:41 -07:00
Matt Farina
3029d557af Merge pull request #662 from rancher-sandbox/hostname
Fix hostname to lima-rancher-desktop
2021-09-23 15:57:38 -04:00
Eric Promislow
f9eb2e411e Merge pull request #633 from rancher-sandbox/627-map-docker-to-nerdctl
627 map docker to nerdctl
2021-09-23 12:48:54 -07:00
Jan Dubois
d4a6432e3e Fix hostname to lima-rancher-desktop
This way the hostname doesn't change during upgrades from Rancher Desktop
0.4.x, which would break deployed kubernetes workloads.

Signed-off-by: Jan Dubois <jan.dubois@suse.com>
2021-09-23 12:38:56 -07:00
Matt Farina
293943d324 Merge pull request #652 from mook-as/lima-update-base-image
Lima: replace base disk if it's out of date.
2021-09-23 15:08:04 -04:00
Eric Promislow
c2bb21bab2 Reinstate current check for first-run
Signed-off-by: Eric Promislow <epromislow@suse.com>
2021-09-23 11:39:38 -07:00
Eric Promislow
76e2bae284 tweaks: remove unneeded code, and clarifying comments
Signed-off-by: Eric Promislow <epromislow@suse.com>
2021-09-23 11:39:38 -07:00
Eric Promislow
c720fe3ea5 Always rebuild the pseudo-docker file
Signed-off-by: Eric Promislow <epromislow@suse.com>
2021-09-23 11:39:38 -07:00
Eric Promislow
fc711ef225 whitespace fix
Signed-off-by: Eric Promislow <epromislow@suse.com>
2021-09-23 11:39:38 -07:00
Eric Promislow
ec19a0eddf Remove duplicate call as a result of incomplete merge conflict resolution
Signed-off-by: Eric Promislow <epromislow@suse.com>
2021-09-23 11:39:38 -07:00
Eric Promislow
19e1d15493 Don't make darwin/docker a symlink
On macos (and linux one day) we use the script's actual
path to determine its location, so better to just copy it in now.

Signed-off-by: Eric Promislow <epromislow@suse.com>
2021-09-23 11:39:38 -07:00