Error using Azure managed identity while storing artifacts #13293
Unanswered
shimittal123
asked this question in
Q&A
Replies: 1 comment
-
the emissary image is distroless so it does not have shell let alone az cli on it. https://github.com/Azure/azure-sdk-for-go/blob/48dd0f41119aa74cbcaa91fa4bac178c1fd09a70/sdk/azidentity/default_azure_credential.go#L33-L74 shows what ways can be used to auth with azure. the error is being hit at https://github.com/Azure/azure-sdk-for-go/blob/aeb9fa45716ff84b6ba4f4013699a695022a6f22/sdk/azidentity/azure_cli_credential.go#L124-L141 perhaps u can try these env variables: https://github.com/Azure/azure-sdk-for-go/blob/09d9eaf461f9c94c428c66ed7808a72ceceee93d/sdk/azidentity/environment_credential.go#L39-L77 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Instead of using storage account key, I am making connection using managed identity to store artifacts in azure storage account.
I have defined it under
workflow-controller-configmap
:I define managed identity and create federated credential which i associate with service account and use that service account in argo workflow:
I create azure identity:
and azure identity binding:
Workflow:
But in the end, all steps are failing in wait container by stating:
But when i am using:
under any workflow step, it is able to store artifacts without storage account key. But still at the end step gets failed by stating same message as wait container is failing for all workflows.
Beta Was this translation helpful? Give feedback.
All reactions