mirror of
https://github.com/Azure/k8s-set-context.git
synced 2026-06-25 00:09:28 +08:00
trying a fix for self-hosted runners
This commit is contained in:
+1
-1
@@ -89,7 +89,7 @@ export async function getArcKubeconfig(): Promise<string> {
|
||||
}
|
||||
console.log('Waiting for 2 minutes for kubeconfig to be merged....')
|
||||
await sleep(120000) //sleeping for 2 minutes to allow kubeconfig to be merged
|
||||
fs.chmodSync(kubeconfigPath, '600');
|
||||
//fs.chmodSync(kubeconfigPath, '600');
|
||||
core.exportVariable('KUBECONFIG', kubeconfigPath);
|
||||
console.log('KUBECONFIG environment variable is set');
|
||||
} catch (ex) {
|
||||
|
||||
Reference in New Issue
Block a user