cloudnative-pg / charts

CloudNativePG Helm Charts
Apache License 2.0
137 stars 62 forks source link

Issue with multiple managed identities assigned to Azure Resource #313

Open jlewandowski-lmco opened 3 weeks ago

jlewandowski-lmco commented 3 weeks ago

I am attempting to use a User Assigned Managed Identity on Azure to access a storage account + blob store for backups. I am using the 'inheritFromAzureAD' option in my backups.azure section of my manifest. When the pods come up I get the following error:

ManagedIdentityCredential authentication unavailable. No identity has been assigned to this resource. Error: Unexpected response \"{'error': 'invalid_request', 'error_description': 'Multiple user assigned identities exist, please specify the clientId / resourceId of the identity in the token request

The node that I am running my cluster on had multiple managed identities assigned to it, so the error output makes sense, but I do not see a way to specify the clientId or resourceId to use via the helm chart values.

How can I specify these values so barman knows which managed identity to use?