From 2b78a8416367e9777ffbced541a00991a1490a1a Mon Sep 17 00:00:00 2001 From: Colin Walker Date: Fri, 15 Nov 2019 04:55:33 +0000 Subject: [PATCH] fix: Pass kubeconfig var --- index.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index 073302c0..4fd25b62 100644 --- a/index.js +++ b/index.js @@ -182,7 +182,9 @@ async function run() { core.debug(`param: removeCanary = ${removeCanary}`); // Setup command options and arguments. - const opts = { env: {} }; + const opts = { env: { + KUBECONFIG: process.env.KUBECONFIG, + }}; const args = [ "upgrade", release,