typo in service name

This commit is contained in:
Murat Kabilov 2017-04-12 12:55:07 +02:00
parent 3bd9b3b42f
commit b8fba429df
1 changed files with 1 additions and 1 deletions

View File

@ -247,7 +247,7 @@ func (c *Cluster) genService(allowedSourceRanges []string) *v1.Service {
},
Spec: v1.ServiceSpec{
Type: v1.ServiceTypeLoadBalancer,
Ports: []v1.ServicePort{{Name: "Postgresql", Port: 5432, TargetPort: intstr.IntOrString{IntVal: 5432}}},
Ports: []v1.ServicePort{{Name: "postgresql", Port: 5432, TargetPort: intstr.IntOrString{IntVal: 5432}}},
LoadBalancerSourceRanges: allowedSourceRanges,
},
}