Skip to content
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

Fix fallback when Kubernetes versions list is unavailable #7515

Merged
merged 2 commits into from
Sep 23, 2024

Commits on Sep 19, 2024

  1. Diagnostics: Fix diagnostics-event

    TypeScript can't compute the type of the payload correctly without using a
    normal discriminated union; this doesn't look as nice, but at least it
    seems to work.
    
    Signed-off-by: Mark Yen <mark.yen@suse.com>
    mook-as committed Sep 19, 2024
    Configuration menu
    Copy the full SHA
    b5a5385 View commit details
    Browse the repository at this point in the history
  2. Fix fallback when no Kubernetes versions are available

    If Rancher Desktop was previously started with a version, but the user
    wipes the `k3s-versions.json` cache and we fail to download a new copy,
    handle the error and disable Kubernetes instead of throwing an error.  To
    make sure the user is aware of the issue, also pop a diagnostic to describe
    the situation.
    
    Signed-off-by: Mark Yen <mark.yen@suse.com>
    mook-as committed Sep 19, 2024
    Configuration menu
    Copy the full SHA
    3766dc2 View commit details
    Browse the repository at this point in the history