From 7141e5f8cf03d482a51ef3c4a4ae945e9761b14e Mon Sep 17 00:00:00 2001 From: 181192 Date: Sun, 2 Jul 2023 23:05:06 +0200 Subject: [PATCH] Rename azureCloudConfig as backwards compatible --- cmd/azure-keyvault-secrets-webhook/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/azure-keyvault-secrets-webhook/main.go b/cmd/azure-keyvault-secrets-webhook/main.go index 13a4d65d..51154c90 100644 --- a/cmd/azure-keyvault-secrets-webhook/main.go +++ b/cmd/azure-keyvault-secrets-webhook/main.go @@ -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 {