Add Type to ServiceSpec: ClusterIP or LoadBalancer
This commit is contained in:
@@ -175,8 +175,8 @@ func TestGenerateService(t *testing.T) {
|
||||
TargetPort: util.NewIntOrStringFromString("foobar"),
|
||||
},
|
||||
},
|
||||
PublicIPs: []string{"1.2.3.4"},
|
||||
CreateExternalLoadBalancer: true,
|
||||
PublicIPs: []string{"1.2.3.4"},
|
||||
Type: api.ServiceTypeLoadBalancer,
|
||||
},
|
||||
},
|
||||
},
|
||||
|
Reference in New Issue
Block a user