Skip to content

Commit 01d7e86

Browse files
Merge pull request #8229 from r4f4/sdk-aws-compute-ssh
OCPBUGS-31563: sdk/aws: add ssh security group rule for compute
2 parents 9557b51 + 1bd9b14 commit 01d7e86

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pkg/infrastructure/aws/sdk/securitygroup.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -273,6 +273,8 @@ func defaultWorkerSGIngressRules(workerSGID *string, masterSGID *string, cidrBlo
273273
return []*ec2.IpPermission{
274274
// worker icmp
275275
createSGRule(workerSGID, "icmp", cidrBlocks, nil, -1, -1, false, nil),
276+
// worker ssh
277+
createSGRule(workerSGID, "tcp", cidrBlocks, nil, 22, 22, false, nil),
276278
// worker vxlan
277279
createSGRule(workerSGID, "udp", nil, nil, 4789, 4789, true, nil),
278280
// worker geneve

0 commit comments

Comments
 (0)