Fix incorrect return value of updateRelease

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
This commit is contained in:
Janne Savolainen committed 2022-03-11 09:24:16 +02:00
1 parent 79587514d8
commit 3f28a09fa1
1 file changed
+4 -2
+4 -2
View File
@@ -90,9 +90,11 @@ export async function upgradeRelease(name: string, chart: string, values: any, n
];
try {
const output = await execHelm(args);
return {
log: await execHelm(args),
release: getRelease(name, namespace, kubeconfigPath, kubectlPath),
log: output,
release: await getRelease(name, namespace, kubeconfigPath, kubectlPath),
};
} finally {
await fse.unlink(valuesFilePath);