Fix cluster connection failing after execHelm (#5432)

This commit is contained in:
Sebastian Malton authored and GitHub committed 2022-05-20 09:15:15 -04:00
1 parent 518808f254
commit 0b971e87b1
1 file changed
+1 -1
+1 -1
View File
@@ -17,7 +17,7 @@ export async function execHelm(args: string[], options?: BaseEncodingOptions & E
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;