changed workflow to test spn method
This commit is contained in:
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
@ -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
|
||||
|
@ -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');
|
||||
|
Reference in New Issue
Block a user