Merge pull request #118115 from TommyStarK/gh_118090
kube-proxy: remove log warning about not using config file
This commit is contained in:
		| @@ -233,7 +233,6 @@ func NewOptions() *Options { | ||||
| // Complete completes all the required options. | ||||
| func (o *Options) Complete() error { | ||||
| 	if len(o.ConfigFile) == 0 && len(o.WriteConfigTo) == 0 { | ||||
| 		klog.InfoS("Warning, all flags other than --config, --write-config-to, and --cleanup are deprecated, please begin using a config file ASAP") | ||||
| 		o.config.HealthzBindAddress = addressFromDeprecatedFlags(o.config.HealthzBindAddress, o.healthzPort) | ||||
| 		o.config.MetricsBindAddress = addressFromDeprecatedFlags(o.config.MetricsBindAddress, o.metricsPort) | ||||
| 	} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Kubernetes Prow Robot
					Kubernetes Prow Robot