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,