Fix a few occurences of old language (e.g. visibility -> ServiceType)

This commit is contained in:
Justin Santa Barbara
2015-05-22 18:58:39 -04:00
parent 7346cc8042
commit 9255770068
7 changed files with 16 additions and 13 deletions

View File

@@ -144,7 +144,7 @@ type Config struct {
// The name of the cluster.
ClusterName string
// The range of ports to be assigned to services with visibility=NodePort or greater
// The range of ports to be assigned to services with type=NodePort or greater
ServiceNodePorts util.PortRange
}
@@ -236,7 +236,7 @@ func setDefaults(c *Config) {
if c.ServiceNodePorts.Size == 0 {
// TODO: Currently no way to specify an empty range (do we need to allow this?)
// We should probably allow this for clouds that don't require NodePort to do load-balancing (GCE)
// but then that breaks the strict nestedness of visibility.
// but then that breaks the strict nestedness of ServiceType.
// Review post-v1
defaultServiceNodePorts := util.PortRange{Base: 30000, Size: 2767}
c.ServiceNodePorts = defaultServiceNodePorts