mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-08 11:38:15 +00:00
kubelet: mark '--azure-container-registry-config' flag as deprecated
This commit is contained in:
parent
c840c94755
commit
910630fbea
@ -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.
|
// 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.
|
// 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")
|
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.")
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user