ServiceClusterIPRangeutil.IPNet// TODO: make this a list
...
...
@@ -187,7 +186,6 @@ func (s *APIServer) AddFlags(fs *pflag.FlagSet) {
fs.Var(&s.EtcdServerList,"etcd-servers","List of etcd servers to watch (http://ip:port), comma separated. Mutually exclusive with -etcd-config")
fs.StringVar(&s.EtcdConfigFile,"etcd-config",s.EtcdConfigFile,"The config file for the etcd client. Mutually exclusive with -etcd-servers.")
fs.StringVar(&s.EtcdPathPrefix,"etcd-prefix",s.EtcdPathPrefix,"The prefix for all resource paths in etcd.")
fs.StringVar(&s.OldEtcdPathPrefix,"old-etcd-prefix",s.OldEtcdPathPrefix,"The previous prefix for all resource paths in etcd, if any.")
fs.Var(&s.CorsAllowedOriginList,"cors-allowed-origins","List of allowed origins for CORS, comma separated. An allowed origin can be a regular expression to support subdomain matching. If this list is empty CORS will not be enabled.")
fs.Var(&s.ServiceClusterIPRange,"service-cluster-ip-range","A CIDR notation IP range from which to assign service cluster IPs. This must not overlap with any IP ranges assigned to nodes for pods.")