Commit 13f6db1d authored by Dr. Stefan Schimanski's avatar Dr. Stefan Schimanski

controller-manager: allow high ports in secure serving validation

parent 692f9bb7
...@@ -53,8 +53,8 @@ func (s *InsecureServingOptions) Validate() []error { ...@@ -53,8 +53,8 @@ func (s *InsecureServingOptions) Validate() []error {
errors := []error{} errors := []error{}
if s.BindPort < 0 || s.BindPort > 32767 { if s.BindPort < 0 || s.BindPort > 65335 {
errors = append(errors, fmt.Errorf("--insecure-port %v must be between 0 and 32767, inclusive. 0 for turning off insecure (HTTP) port", s.BindPort)) errors = append(errors, fmt.Errorf("--insecure-port %v must be between 0 and 65535, inclusive. 0 for turning off insecure (HTTP) port", s.BindPort))
} }
return errors return errors
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment