mirror of
https://github.com/ditkrg/k8s-set-context.git
synced 2026-01-24 23:06:47 +00:00
printing env variables
This commit is contained in:
parent
c264da5323
commit
b1d4c1ab9d
@ -112,6 +112,7 @@ function run() {
|
|||||||
fs.writeFileSync(kubeconfigPath, kubeconfig);
|
fs.writeFileSync(kubeconfigPath, kubeconfig);
|
||||||
command_1.issueCommand('set-env', { name: 'KUBECONFIG' }, kubeconfigPath);
|
command_1.issueCommand('set-env', { name: 'KUBECONFIG' }, kubeconfigPath);
|
||||||
console.log('KUBECONFIG environment variable is set');
|
console.log('KUBECONFIG environment variable is set');
|
||||||
|
console.log(process.env);
|
||||||
yield setContext();
|
yield setContext();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user