Fix cluster connection failing after execHelm (#5432)

This commit is contained in:
Sebastian Malton committed 2022-05-20 09:24:51 -04:00
1 parent 69c3fc06e7
commit 180044cda2
1 file changed
+1 -1
+1 -1
View File
@@ -23,7 +23,7 @@ export async function execHelm(args: string[], { encoding, ...rest }: BaseEncodi
try {
const opts = { ...options };
opts.env ??= process.env;
opts.env ??= { ...process.env };
if (!opts.env.HTTPS_PROXY && UserStore.getInstance().httpsProxy) {
opts.env.HTTPS_PROXY = UserStore.getInstance().httpsProxy;