Merge pull request #118596 from SataQiu/fix-kubelet-20230610

kubelet: mark '--azure-container-registry-config' flag as deprecated
This commit is contained in:
Kubernetes Prow Robot 2023-06-12 12:44:10 -07:00 committed by GitHub
commit 49d7b3f0a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,4 +27,5 @@ func addLegacyCloudProviderCredentialProviderFlags(global, local *pflag.FlagSet)
// TODO(#58034): This is not a static file, so it's not quite as straightforward as --google-json-key.
// We need to figure out how ACR users can dynamically provide pull credentials before we can deprecate this.
pflagRegister(global, local, "azure-container-registry-config")
local.MarkDeprecated("azure-container-registry-config", "Use --image-credential-provider-config and --image-credential-provider-bin-dir to setup acr credential provider instead. Will be removed in a future release.")
}