fix: Update client-go library to allow upgrade & scale operations to succeed in AAD scenarios#506
fix: Update client-go library to allow upgrade & scale operations to succeed in AAD scenarios#506skinny wants to merge 1 commit intoAzure:masterfrom
Conversation
4ac7f1e to
39a988e
Compare
|
@mboersma done ! |
39a988e to
d7f54cb
Compare
|
@mboersma any chance this can get merged any time soon? Let me know if it needs any changes |
|
/azp run pr-e2e |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
[APPROVALNOTIFIER] This PR is APPROVED Approval requirements bypassed by manually added approval. This pull-request has been approved by: skinny The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
@skinny is it possible to update client-go without updating k8s.io/api or k8s.io/apimachinery? Changing the k8s API version has significant ripple effects for us into Azure's AKS and OpenShift services, so if it needs to change we'll have more communication and testing to do before this could be merged. |
|
@mboersma Unfortunately the 'scale' operation starts to fail again if I only upgrade the I will try to narrow this down tomorrow but it looks like we need to upgrade the other packages too. |
Ok, thanks for trying! I'll just need to check to make sure that updating the API to k8s 1.13 won't cause problems for the big projects that vendor in aks-engine. |
|
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Reason for Change:
While
deploycommands work with anaadProfilein the API model,upgradeandscalecommands fail with the following error message:FATA[0377] Error upgrading cluster: No Auth Provider found for name "azure"I have tried to include the azure plugin in the current 7.0.0 version (in engine.go) but that fails too :
So this PR upgrades the client-go to the latest 10.0 version and includes the
azureplugin in engine.go. Now the upgrade and scale commands work as expected.I could not find any specific reason why the update to v9 was reverted in december (#85) but as a user of the AAD functionality in aks-engine I would really like to upgrade my clusters too ;-)