1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

merge v4.1.5

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton 2021-04-01 09:57:26 -04:00
commit 84dc43406c
4 changed files with 16 additions and 9 deletions

View File

@ -4,7 +4,7 @@ import { isDevelopment, isTestEnv } from "../common/vars";
import { delay } from "../common/utils"; import { delay } from "../common/utils";
import { areArgsUpdateAvailableToBackchannel, AutoUpdateLogPrefix, broadcastMessage, onceCorrect, UpdateAvailableChannel, UpdateAvailableToBackchannel } from "../common/ipc"; import { areArgsUpdateAvailableToBackchannel, AutoUpdateLogPrefix, broadcastMessage, onceCorrect, UpdateAvailableChannel, UpdateAvailableToBackchannel } from "../common/ipc";
import { once } from "lodash"; import { once } from "lodash";
import { app, ipcMain } from "electron"; import { ipcMain } from "electron";
let installVersion: null | string = null; let installVersion: null | string = null;
@ -12,8 +12,8 @@ function handleAutoUpdateBackChannel(event: Electron.IpcMainEvent, ...[arg]: Upd
if (arg.doUpdate) { if (arg.doUpdate) {
if (arg.now) { if (arg.now) {
logger.info(`${AutoUpdateLogPrefix}: User chose to update now`); logger.info(`${AutoUpdateLogPrefix}: User chose to update now`);
autoUpdater.quitAndInstall(true, true); autoUpdater.on("update-downloaded", () => autoUpdater.quitAndInstall());
app.exit(); // this is needed for the installer not to fail on windows. autoUpdater.downloadUpdate().catch(error => logger.error(`${AutoUpdateLogPrefix}: Failed to download or install update`, { error }));
} else { } else {
logger.info(`${AutoUpdateLogPrefix}: User chose to update on quit`); logger.info(`${AutoUpdateLogPrefix}: User chose to update on quit`);
autoUpdater.autoInstallOnAppQuit = true; autoUpdater.autoInstallOnAppQuit = true;

View File

@ -28,7 +28,7 @@ export class LensProxy {
} }
listen(port = this.port): this { listen(port = this.port): this {
this.proxyServer = this.buildCustomProxy().listen(port); this.proxyServer = this.buildCustomProxy().listen(port, "127.0.0.1");
logger.info(`[LENS-PROXY]: Proxy server has started at ${this.origin}`); logger.info(`[LENS-PROXY]: Proxy server has started at ${this.origin}`);
return this; return this;

View File

@ -25,7 +25,7 @@ export const MainLayoutHeader = observer(({ cluster, className }: Props) => {
!cluster.isManaged && ( !cluster.isManaged && (
<MenuItem onClick={actions.remove}> <MenuItem onClick={actions.remove}>
<span>Remove</span> <span>Remove</span>
</MenuItem> </MenuItem>
) )
} }
</MenuActions>); </MenuActions>);

View File

@ -33,6 +33,17 @@ Here you can find description of changes we've built into each release. While we
- Fix: Closing workspace menu after clicking on iframe - Fix: Closing workspace menu after clicking on iframe
- Fix: extension global pages are never able to be visible - Fix: extension global pages are never able to be visible
- Fix: recreate proxy kubeconfig if it is deleted - Fix: recreate proxy kubeconfig if it is deleted
- Fix: internal proxy listening on all network interfaces
- Fix: extension command palette loading
- Fix: Lens not clearing other KUBECONFIG env vars
## 4.1.5
**Upgrade note:** Where have all my pods gone? Namespaced Kubernetes resources are now initially shown only for the "default" namespace. Use the namespaces selector to add more.
- Fix internal proxy listening on all network interfaces
- Fix extension command palette loading
- Fix Lens not clearing other KUBECONFIG env vars
## 4.1.4 ## 4.1.4
@ -57,8 +68,6 @@ Here you can find description of changes we've built into each release. While we
## 4.1.2 ## 4.1.2
**Upgrade note:** Where have all my pods gone? Namespaced Kubernetes resources are now initially shown only for the "default" namespace. Use the namespaces selector to add more.
- Fix an issue where a cluster gets stuck on "Connecting ..." phase - Fix an issue where a cluster gets stuck on "Connecting ..." phase
- Fix an issue with auto-update - Fix an issue with auto-update
@ -70,8 +79,6 @@ Here you can find description of changes we've built into each release. While we
## 4.1.0 ## 4.1.0
**Upgrade note:** Where have all my pods gone? Namespaced Kubernetes resources are now initially shown only for the "default" namespace. Use the namespaces selector to add more.
- Change: list views default to a namespace (instead of listing resources from all namespaces) - Change: list views default to a namespace (instead of listing resources from all namespaces)
- Command palette - Command palette
- Generic logs view with Pod selector - Generic logs view with Pod selector