Windows does not need this location but there are code paths that
do not handle an error being returned. There are multiple code paths
like this. Restoring the mac location, which has long been used.
In a future change, this can be removed and the other code paths fixed
to handle an error being returned.
Signed-off-by: Matt Farina <matt.farina@suse.com>
- Also drop the VM_READY state as we don't want to show the images page until it can
also be used to build images. The extra minute or so to bring up the list of
images reduces confusion for those users who want to build an image right away.
Signed-off-by: Eric Promislow <epromislow@suse.com>
This commit adds RPM and DEB targets to the electron builder manifest
and uploads the result within the packaging workflow.
Signed-off-by: David Cassany <dcassany@suse.com>
We were previously always checking the rancher-desktop distribution for
kubeconfig integration (which is completely useless).
Signed-off-by: Mark Yen <mark.yen@suse.com>
We were previously always checking the rancher-desktop distribution for
kubeconfig integration (which is completely useless).
Signed-off-by: Mark Yen <mark.yen@suse.com>
It's possible that our data mount still exists, but the underlying disk has
went away. In that case, we can safely unmount it (because the device went
away, nobody can complain), and then re-mount it.
Signed-off-by: Mark Yen <mark.yen@suse.com>
- In practice, the time delta between this event and
STARTED so short that it isn't noticeable to the eye
Signed-off-by: Eric Promislow <epromislow@suse.com>
This will detect when linux is run in WSL or by itself to know
which method to talk to nerdctl.
Note, also removed debug output accidently left in.
Signed-off-by: Matt Farina <matt.farina@suse.com>
There's an issue with k3s 1.22; skip it for now. We will need to redo the
version fetching to be based on the k3s channel server instead later.
Signed-off-by: Mark Yen <mark.yen@suse.com>
1. Simplify processing of `nerdctl images` output
- stop culling possible multiple entries
- use `localeCompare` to simplify sorting of entries
2. Simplify processing of `nerdctl namespaces` output
3. Delete `src/ks8-engine/kim.ts` again -- I let it back in while rebasing.
Signed-off-by: Eric Promislow <epromislow@suse.com>
- Used to validate the name passed to `createImageProcessor`
- Also add some misc. missing types and comments
Signed-off-by: Eric Promislow <epromislow@suse.com>
- Also keep all the images handlers in the image events region in the
typescript event definition file.
Signed-off-by: Eric Promislow <epromislow@suse.com>
- No explicit catch handler needed for `relayImageProcessorNamespaces`
- Use `Intl.Collator` instead of `string.toLowerCase().localeCompare...`
- Add awaits for dialog boxes
Signed-off-by: Eric Promislow <epromislow@suse.com>
* This is the point where containerd is running, so we can get images
* Change UI so it no longer suggests the image manager is dependent on Kubernetes.
Signed-off-by: Eric Promislow <epromislow@suse.com>