changed workflow to test spn method

This commit is contained in:
Atharva Mulmuley
2021-04-27 17:05:04 +05:30
parent 23202c929e
commit 81377bbac4
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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');