-
Notifications
You must be signed in to change notification settings - Fork 34
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
feat: adds azure metadata provider to cloudmeta pkg. #4159
Conversation
This pr depends on #4154 |
Created the request for IT to get the access to Azure.
|
75ba63b
to
ada313e
Compare
@VAveryanov8 please rebase on master so that it's easier to analyze the changes. |
ada313e
to
8301bdc
Compare
Done! |
update: I've manually tested this package on a real azure vm - everything seems to be working as expected! |
This adds azure metadata provider to cloudmeta pkg. Fixes: #4129
This adds http client with retries to project dependencies.
This adds retries to azure metadata service using the github.com/hashicorp/go-retryablehttp package. Also adds some unit tests.
8301bdc
to
926c561
Compare
update: git rebase master |
This adds azure metadata provider to cloudmeta pkg.
https://learn.microsoft.com/en-us/azure/virtual-machines/instance-metadata-service?tabs=linux#usage
I've tested this pr with official mock api from Azure - https://mockoon.com/mock-samples/azurecom-imds/ , but it's really far from real implementation, so it's better to validate this implementation against real Azure env.
Fixes: #4129
Please make sure that: