[英]Github action Azure login token is expired
I'm using the azure/login github action in my workflow to login to azure to then set some secrets and deploy to Azure Kube.netes Cluster.我在工作流中使用 azure/login github 操作登录到 azure,然后设置一些机密并部署到 Azure Kube.netes 集群。 Suddenly the github action is failing with the error token is expired .
突然 github 操作失败,错误token is expired 。
The last thing I did before this error started showing up "not sure if this is related at all" was to execute the command az vmss identity assign -g
on the vmss of the cluster to assign a userAssignedIdentity在这个错误开始显示“不确定这是否相关”之前我做的最后一件事是在集群的 vmss 上执行命令
az vmss identity assign -g
以分配一个 userAssignedIdentity
I tried recreated the federated credential for the enterprise app connecting the github actions/workflows to our AAD but nothing changed, I even tried using a client secret authentication, but that gave the same error as well.我尝试为将 github 操作/工作流连接到我们的 AAD 的企业应用程序重新创建联合凭证,但没有任何改变,我什至尝试使用客户端秘密身份验证,但这也给出了同样的错误。
Something was seriously messed up with the cluster, I had to delete it and recreate and recreate the managed identity, granting it access to the cluster and creating a federated credential to allow github to deploy through it to the cluster集群出现严重问题,我不得不删除它并重新创建和重新创建托管身份,授予它对集群的访问权限并创建联合凭证以允许 github 通过它部署到集群
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.