Closed
Description
Describe the bug
Cortex supports using the Azure workload identity when the AKS cluster is used for Cortex deployment.
However, Cortex uses a deprecated method to get the token from the IMDS metadata.
This approach required to put the annotation azure.workload.identity/inject-proxy-sidecar: true
in order to inject a special side car. Microsoft deprecated this method
Cortex should upgrade the Azure SDK and use automatically the env vars , such as
AZURE_CLIENT_ID
AZURE_TENANT_ID
AZURE_FEDERATED_TOKEN_FILE
The variables are injected automatically by Azure workload identity admission hook: