-
Notifications
You must be signed in to change notification settings - Fork 300
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
Contexts aren't added/deleted from the Tray menu on Linux platforms #3765
Comments
First attempt, updating to node 18 introduces a new issue:
The root cause appears to be linked to webpack/webpack#14532, which explains that node has updated OpenSSL in versions > 16.x; the updated OpenSSL version doesn't support legacy hashing algorithms. There appears to be several potential workarounds, each of which that has their own downsides
Upgrading to node 18 appears to come with some technical debt associated with it. EOL for node 16 has been extended to September 11th, 2023 because of the breaking changes associated with the update to OpenSSL 3. |
Testing changes made in #3958 and the behavior still appears to be regressed. I'm finding that navigating to "General" appears to trigger the refresh of the Kubernetes Context list. Still need to compare this behavior with Edit: Tested against |
The behavior described above is a side-effect of |
Actual Behavior
Contexts aren't added/deleted from the Tray menu until restarting Rancher Desktop.
Steps to Reproduce
Reproduction steps make use of k3d
Kubernetes is running
state in trayk3d cluster create test-cluster
)Kubernetes is running
stateResult
Contexts aren't added/deleted from the Tray menu until restarting Rancher Desktop.
Expected Behavior
Contexts are added/deleted from the Tray menu immediately.
Additional Information
There is an uncaught exception from
fs.watch
rancher-desktop/pkg/rancher-desktop/main/tray.ts
Lines 120 to 125 in ec34016
Exception message:
The
recursive
option is not available on Linux when watching directories (Node verion >= 14) but it seems that will be introduced in next Node.js versions (18.x)nodejs/node#45098
Rancher Desktop Version
1.7.x
Rancher Desktop K8s Version
any
Which container engine are you using?
containerd (nerdctl)
What operating system are you using?
Other Linux
Operating System / Build Version
Linux
What CPU architecture are you using?
x64
Linux only: what package format did you use to install Rancher Desktop?
None
Windows User Only
No response
The text was updated successfully, but these errors were encountered: