Skip to content

Commit

Permalink
Try using AdditionallyAddedTenants to see if it gets cluster MSI working
Browse files Browse the repository at this point in the history
  • Loading branch information
kimorris27 committed Nov 12, 2024
1 parent 423a465 commit 1bcc170
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/util/azureclient/environments.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,9 @@ func (e *AROEnvironment) ArmClientOptions() *arm.ClientOptions {

func (e *AROEnvironment) ClientCertificateCredentialOptions() *azidentity.ClientCertificateCredentialOptions {
return &azidentity.ClientCertificateCredentialOptions{
AdditionallyAllowedTenants: []string{
"*", // this is probably not the final solution; just testing it to see if it works
},
ClientOptions: azcore.ClientOptions{
Cloud: e.Cloud,
},
Expand Down

0 comments on commit 1bcc170

Please sign in to comment.