Skip to content

Commit 6fab4ab

Browse files
authored
Merge pull request #10545 from zalando-incubator/support-legacy-efs
allow EKS worker to connect to legacy EFS
2 parents 5550b47 + f92430e commit 6fab4ab

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

cluster/cluster.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1099,6 +1099,16 @@ Resources:
10991099
SourceSecurityGroupId: !Ref WorkerSecurityGroup
11001100
ToPort: 2049
11011101
Type: 'AWS::EC2::SecurityGroupIngress'
1102+
{{- if eq .Cluster.ConfigItems.efs_allow_vpc_connection "true" }}
1103+
EFSSecurityGroupIngressFromVPCCIDR:
1104+
Properties:
1105+
FromPort: 2049
1106+
GroupId: !Ref EFSWorkerSecurityGroup
1107+
IpProtocol: tcp
1108+
CidrIp: "{{.Values.vpc_ipv4_cidr}}"
1109+
ToPort: 2049
1110+
Type: 'AWS::EC2::SecurityGroupIngress'
1111+
{{- end }}
11021112
EFSWorkerSecurityGroup:
11031113
Properties:
11041114
GroupDescription: worker to EFS sg

cluster/config-defaults.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1339,6 +1339,9 @@ wiz_node_feature_rollout : "false"
13391339
# Enable runtime sensor response capabilities such as KILL
13401340
wiz_enable_runtime_sensor_response_capabilities: "false"
13411341

1342+
# Configure legacy EFS connectivity from the entire VPC. This allows EKS clusters to connect to the legacy EFS file system.
1343+
efs_allow_vpc_connection: "false"
1344+
13421345
# EKS specific configuration
13431346
eks_control_plane_logging: "true"
13441347
eks_ip_family: "ipv4"

0 commit comments

Comments
 (0)