Skip to content

Commit 874fcd3

Browse files
authored
Merge pull request #3842 from dkoshkin/dkoshkin/e2e-subnet-ccm-tags
e2e: remove Subnet CCM tags
2 parents ca53d74 + 06d9221 commit 874fcd3

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

test/e2e/shared/aws.go

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1243,29 +1243,11 @@ func CreateSubnet(e2eCtx *E2EContext, clusterName string, cidrBlock string, az s
12431243
Key: aws.String("Name"),
12441244
Value: aws.String(clusterName + "-subnet-" + st),
12451245
},
1246-
{
1247-
Key: aws.String("kubernetes.io/cluster/" + clusterName),
1248-
Value: aws.String("shared"),
1249-
},
12501246
},
12511247
},
12521248
},
12531249
}
12541250

1255-
// Tag subnet based on type(st)
1256-
switch st {
1257-
case "private":
1258-
input.TagSpecifications[0].Tags = append(input.TagSpecifications[0].Tags, &ec2.Tag{
1259-
Key: aws.String("kubernetes.io/role/internal-elb"),
1260-
Value: aws.String("1"),
1261-
})
1262-
case "public":
1263-
input.TagSpecifications[0].Tags = append(input.TagSpecifications[0].Tags, &ec2.Tag{
1264-
Key: aws.String("kubernetes.io/role/elb"),
1265-
Value: aws.String("1"),
1266-
})
1267-
}
1268-
12691251
if az != "" {
12701252
input.AvailabilityZone = aws.String(az)
12711253
}

0 commit comments

Comments
 (0)