diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 428f732a..e8c040c9 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -34,7 +34,7 @@ jobs: echo test, and deploy your project. - uses: atharvamulmuley/k8s-set-context@cluster-connect-2 with: - method: service-account + method: spn cluster-type: 'arc' creds: '${{ secrets.AZURE_CREDS }}' cluster-name: arcaction diff --git a/lib/arc-login.js b/lib/arc-login.js index aabb8ccb..d0a9b641 100644 --- a/lib/arc-login.js +++ b/lib/arc-login.js @@ -93,7 +93,7 @@ function getArcKubeconfig() { }).unref(); } console.log('started proxy'); - yield sleep(120000); //sleeping for a minute to allow kubeconfig to be merged + yield sleep(120000); //sleeping for 2 minutes to allow kubeconfig to be merged fs.chmodSync(kubeconfigPath, '600'); core.exportVariable('KUBECONFIG', kubeconfigPath); console.log('KUBECONFIG environment variable is set');