Comments (5)
I updated this action to rely on Azure/login for v2.0. Any login methods supported there will work for this. That lets you use OIDC which is an alternative. Azure/login currently uses the --sdk-auth
flag but hopefully will be switching away from that soon.
from aks-set-context.
This issue is idle because it has been open for 14 days with no activity.
from aks-set-context.
Running into the same issue here. with --sdk-auth option vs without, the JSON keys are different (e.g. --sdk-auth gives clientId vs without, you get appId).
Is it possible to update this workflow to use the new syntax? As phillipleblanc commented, the --sdk-auth flag will be deprecated.
As a temporary workaround without the --sdk-auth flag, I had to change and add keys in the JSON output, for example:
appId -> clientId
password -> clientSecret
tenant -> tenantId
add subscriptionId
{
"clientId": "<redacted>",
"displayName": "<redacted>",
"name": "<redacted>",
"clientSecret": "<redacted>",
"tenantId": "<redacted>",
"subscriptionId": "<redacted>"
}
Tested the changes in my own repository and managed to get it working.
from aks-set-context.
This issue is idle because it has been open for 14 days with no activity.
from aks-set-context.
I've been following the discussion going on here closely. We want to be consistent with the Azure/login action.
from aks-set-context.
Related Issues (20)
- Bug: ERROR: AADSTS700024: Client assertion is not within its valid time range. HOT 4
- Node v16 actions are deprecated HOT 5
- Hard coded URLs in login.ts HOT 2
- kubeconfig file shows error while deploying to aks using actions HOT 8
- Undocumented access requirements HOT 4
- Unable to use AAD Cluster with non-admin users HOT 28
- Documentation refers to wrong attributes names
- Allow specifying of subscription to utilize in the action HOT 1
- panic: no Auth Provider found for name "azure" HOT 2
- Allow specifying of subscription to utilize in the action HOT 1
- Cannot get cluster admin credentials HOT 2
- Can't execute kubectl without oauth device prompt after running this HOT 8
- use-kubelogin option does not work properly HOT 4
- Support for AzureChinaCloud HOT 4
- Upgrading from v1 to v3 error HOT 3
- Action should cleanup kubeconfig from runner in post run HOT 3
- Feature Request: enable conditional --public-fqdn parameter HOT 4
- Feature Request: Add option to retry failed operations HOT 4
- KUBECONFIG variable set while actions-hub/kubectl uses KUBE_CONFIG HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aks-set-context.