Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kube-scheduler: allow high ports in secure serving validation #65833

Merged
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.
+2 −2
Diff settings

Always

Just for now

apiserver: allow high ports in secure serving validation

  • Loading branch information...
sttts committed Jul 4, 2018
commit fe310525dbca17e0784a4482d91a352074f668f7
@@ -152,8 +152,8 @@ func (o *CombinedInsecureServingOptions) Validate() []error {

errors := []error{}

if o.BindPort < 0 || o.BindPort > 32767 {
errors = append(errors, fmt.Errorf("--port %v must be between 0 and 32767, inclusive. 0 for turning off insecure (HTTP) port", o.BindPort))
if o.BindPort < 0 || o.BindPort > 65335 {
errors = append(errors, fmt.Errorf("--port %v must be between 0 and 65335, inclusive. 0 for turning off insecure (HTTP) port", o.BindPort))
}

if len(o.BindAddress) > 0 && net.ParseIP(o.BindAddress) == nil {
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.