Skip to content

Commit

Permalink
fix(kubetest2/eksapi): Fix 'unmanaged-nodegroup-efa.yaml' by removing…
Browse files Browse the repository at this point in the history
… references to SSHKeyPair (#532)

* Fix 'unmanaged-nodegroup-efa.yaml' by removing references to SSHKeyPair

* Delete /_artifacts and /_rundir directories and add to '.gitignore'
  • Loading branch information
mattcjo authored Dec 24, 2024
1 parent 706d59b commit 72ebc98
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 26 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@
/aws-k8s-tester
*/*/.DS_Store
*/.DS_Store
/_artifacts
/_rundir
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,6 @@ Parameters:
Description: The IAM role name of worker nodes.
Type: String

SSHKeyPair:
Type: String

UserData:
Type: String

Expand Down Expand Up @@ -120,28 +117,6 @@ Resources:
GroupId: !Ref EFASecurityGroup
IpProtocol: "-1"

EFASecurityGroupIngressSSHIpv4:
Type: "AWS::EC2::SecurityGroupIngress"
DependsOn: EFASecurityGroup
Properties:
Description: Allow SSH
FromPort: 22
ToPort: 22
CidrIp: "0.0.0.0/0"
GroupId: !Ref EFASecurityGroup
IpProtocol: "tcp"

EFASecurityGroupIngressSSHIpv6:
Type: "AWS::EC2::SecurityGroupIngress"
DependsOn: EFASecurityGroup
Properties:
Description: Allow SSH
FromPort: 22
ToPort: 22
CidrIpv6: "::/0"
GroupId: !Ref EFASecurityGroup
IpProtocol: "tcp"

EFASecurityGroupIngressControlPlane:
Type: "AWS::EC2::SecurityGroupIngress"
DependsOn: EFASecurityGroup
Expand Down Expand Up @@ -225,7 +200,6 @@ Resources:
Arn: !GetAtt NodeInstanceProfile.Arn
ImageId: !Ref AMIId
InstanceType: !Ref InstanceType
KeyName: !Ref SSHKeyPair
NetworkInterfaces:
Fn::If:
- IsP5Node
Expand Down

0 comments on commit 72ebc98

Please sign in to comment.