mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-05 10:19:50 +00:00
Deprecate cloud-provider/cloud-config in apiserver CLI
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
This commit is contained in:
parent
139fa69620
commit
4d2d9947bf
@ -41,7 +41,8 @@ func (s *CloudProviderOptions) Validate() []error {
|
||||
func (s *CloudProviderOptions) AddFlags(fs *pflag.FlagSet) {
|
||||
fs.StringVar(&s.CloudProvider, "cloud-provider", s.CloudProvider,
|
||||
"The provider for cloud services. Empty string for no provider.")
|
||||
|
||||
fs.MarkDeprecated("cloud-provider", "will be removed in a future version") // nolint: errcheck
|
||||
fs.StringVar(&s.CloudConfigFile, "cloud-config", s.CloudConfigFile,
|
||||
"The path to the cloud provider configuration file. Empty string for no configuration file.")
|
||||
fs.MarkDeprecated("cloud-config", "will be removed in a future version") // nolint: errcheck
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user