-
Notifications
You must be signed in to change notification settings - Fork 15
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
Support for private/air gapped cloud environments #16
Comments
let me think about a general way for overwriting cloud endpoints. |
in worst case it could mean to pass an environment variable eg |
webdevops/azure-resourcemanager-exporter#16 Signed-off-by: Markus Blaschke <mblaschke82@gmail.com>
please try docker image
and adapt accordingly documented here: https://github.com/webdevops/go-common/tree/main/azuresdk thinking also about |
Thanks a lot, I'll give it a try! +1 for passing a path to the config file |
Are you having the AzureAD also on-premise or are you using public AzureAD? |
Yes, I am using a different instance of Azure AD, not the public one. |
with newest specify the cloud config via content should be: {
"activeDirectoryAuthorityHost": "https://login.microsoftonline.com/",
"services": {
"resourceManager": {
"audience": "https://management.core.windows.net/",
"endpoint": "https://management.azure.com"
},
"microsoftGraph": {
"audience": "https://graph.microsoft.com",
"endpoint": "https://graph.microsoft.com"
}
}
} adapt endpoints accordingly this solution will be build in every azure exporter as soon they are migrated to the new azure-sdk-for-go version. |
Please reopen if there are still issues |
It would be great if the exporter could support private/airgapped clouds.
To do that, we can introduce a new
AZURE_RESOURCE_MANAGER_ENDPOINT
flag (andAZURE_GRAPH_ENDPOINT
, if graph is also used). Looking at the codebase, it seems that the change is not that straightforward given the dependency on the armclient package.The text was updated successfully, but these errors were encountered: