-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MSI Support missing in newConfigCredential #6931
Comments
@anshulahuja98 @ywk253100 |
I think it should be fine if you pick the impl@yanggangtony You can pick the impl once we have consensus |
Thanks. i will follow it. |
@anshulahuja98 The changes were introduced only on the main branch, so the issue should only exist on the dev version of Velero and the plugin, right? |
Yes correct @ywk253100 |
@yanggangtony Assigned it to you, thanks |
@ywk253100 |
@ywk253100 @anshulahuja98 |
What steps did you take and what happened:
Latest Azure plugin 1.8 does not support MSI based auth due to Workload Identity related changes in core velero azure utils.
What did you expect to happen:
Earlier velero used to work by only providing
AZURE_CLIENT_ID=
AZURE_TENANT_ID=
AZURE_CLOUD_NAME=
Which used MSI based auth.
When these values were provided, velero used to fetch the token from the IMDS endpoint, based on the impl of NewAuthorizerFromEnvironment which is based on prev impl.
With new changes for WorkloadIdentity, this has stopped working.
We need to add support for MSI in newConfigCredential. This can potentially be done by using ManagedIdentityCredentialOptions
The following information will help us better understand what's going on:
If you are using velero v1.7.0+:
Please use
velero debug --backup <backupname> --restore <restorename>
to generate the support bundle, and attach to this issue, more options please refer tovelero debug --help
If you are using earlier versions:
Please provide the output of the following commands (Pasting long output into a GitHub gist or other pastebin is fine.)
kubectl logs deployment/velero -n velero
velero backup describe <backupname>
orkubectl get backup/<backupname> -n velero -o yaml
velero backup logs <backupname>
velero restore describe <restorename>
orkubectl get restore/<restorename> -n velero -o yaml
velero restore logs <restorename>
Anything else you would like to add:
Environment:
velero version
):velero client config get features
):kubectl version
):/etc/os-release
):Vote on this issue!
This is an invitation to the Velero community to vote on issues, you can see the project's top voted issues listed here.
Use the "reaction smiley face" up to the right of this comment to vote.
The text was updated successfully, but these errors were encountered: