You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Exit lens and clear out any existing kubeconfig files in /tmp
rm /tmp/*-kubeconfig
Start lens and connect to any cluster. New entries will show up in /tmp.
ls -la /tmp | grep kubeconfig
Expected behavior
Don't save sensitive credentials in shared system directories with world readable permissions.
Screenshots
N/A
Environment (please complete the following information):
Lens Version: 3.5.3
OS: Linux - "Pop!_OS 20.04 LTS"
Installation method: snap
Logs:
(process:302643): Gtk-WARNING **: 18:02:50.917: Locale not supported by C library.
Using the fallback 'C' locale.
info: SNAP env is defined, updater is disabled
warn: PrometheusLens: failed to list services: services "prometheus" not found
warn: PrometheusLens: failed to list services: services "prometheus" not found
warn: PrometheusLens: failed to list services: services "prometheus" not found
warn: PrometheusLens: failed to list services: services "prometheus" not found
info: using lens as prometheus provider
info: using lens as prometheus provider
Kubeconfig:
N/a
Additional context
When I add cluster to lens, I copy and paste kubeconfigs into the custom dialog box. I don't merge context into the user default ${HOME}/.kube/config
The text was updated successfully, but these errors were encountered:
Describe the bug
Looks like Lens is saving kubeconfg files with world readable permissions in /tmp. This could leak credentials to other system users.
To Reproduce
Exit lens and clear out any existing kubeconfig files in /tmp
Start lens and connect to any cluster. New entries will show up in /tmp.
Expected behavior
Don't save sensitive credentials in shared system directories with world readable permissions.
Screenshots
N/A
Environment (please complete the following information):
Logs:
Kubeconfig:
N/a
Additional context
When I add cluster to lens, I copy and paste kubeconfigs into the custom dialog box. I don't merge context into the user default ${HOME}/.kube/config
The text was updated successfully, but these errors were encountered: