mirror of
https://github.com/ditkrg/k8s-set-context.git
synced 2026-01-22 22:06:49 +00:00
Update login.ts
This commit is contained in:
parent
8405e87dd0
commit
6e95d6c256
@ -108,7 +108,8 @@ async function run() {
|
|||||||
fs.writeFileSync(kubeconfigPath, kubeconfig);
|
fs.writeFileSync(kubeconfigPath, kubeconfig);
|
||||||
issueCommand('set-env', { name: 'KUBECONFIG' }, kubeconfigPath);
|
issueCommand('set-env', { name: 'KUBECONFIG' }, kubeconfigPath);
|
||||||
console.log('KUBECONFIG environment variable is set');
|
console.log('KUBECONFIG environment variable is set');
|
||||||
|
console.log(process.env)
|
||||||
await setContext();
|
await setContext();
|
||||||
}
|
}
|
||||||
|
|
||||||
run().catch(core.setFailed);
|
run().catch(core.setFailed);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user