mirror of
https://github.com/ditkrg/k8s-set-context.git
synced 2026-01-25 15:23:02 +00:00
printing env variables
This commit is contained in:
@@ -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();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user