fed cluster selector integration test

updates from review
This commit is contained in:
emaildanwilson
2017-05-18 16:28:17 -07:00
parent be71ec717b
commit 2cef454fd3
3 changed files with 46 additions and 11 deletions

View File

@@ -92,7 +92,8 @@ func (f *FederationFixture) StartCluster(t *testing.T) {
cluster := &federationapi.Cluster{
ObjectMeta: metav1.ObjectMeta{
Name: fmt.Sprintf("cluster-%d", clusterId),
Name: fmt.Sprintf("cluster-%d", clusterId),
Labels: map[string]string{"cluster": fmt.Sprintf("%d", clusterId)},
},
Spec: federationapi.ClusterSpec{
ServerAddressByClientCIDRs: []federationapi.ServerAddressByClientCIDR{