Skip to content

Commit

Permalink
Rename azureCloudConfig as backwards compatible
Browse files Browse the repository at this point in the history
  • Loading branch information
181192 committed Jul 2, 2023
1 parent 20708a9 commit 7141e5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/azure-keyvault-secrets-webhook/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ func getCredentials() (azure.LegacyTokenCredential, credentialprovider.Credentia

credentials, err := cProvider.GetAzureKeyVaultCredentials()
return credentials, cProvider, err
case "cloudConfig":
case "azureCloudConfig":
klog.V(4).InfoS("using cloudConfig for auth - reading credentials", "file", config.cloudConfig)
f, err := os.Open(config.cloudConfig)
if err != nil {
Expand Down

0 comments on commit 7141e5f

Please sign in to comment.