Skip to content

Commit

Permalink
delete extra sg configs (#118)
Browse files Browse the repository at this point in the history
  • Loading branch information
ntwkninja authored Mar 29, 2023
1 parent d922047 commit d9e0f76
Showing 1 changed file with 0 additions and 33 deletions.
33 changes: 0 additions & 33 deletions modules/eks/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -39,39 +39,6 @@ module "aws_eks" {
}
}

node_security_group_additional_rules = {
# Extend node-to-node security group rules. Recommended and required for the Add-ons
ingress_self_all = {
description = "Node to node all ports/protocols"
protocol = "-1"
from_port = 0
to_port = 0
type = "ingress"
self = true
}
# Recommended outbound traffic for Node groups
egress_all = {
description = "Node all egress"
protocol = "-1"
from_port = 0
to_port = 0
type = "egress"
cidr_blocks = ["0.0.0.0/0"]
ipv6_cidr_blocks = ["::/0"]
}
# Allows Control Plane Nodes to talk to Worker nodes on all ports. Added this to simplify the example and further avoid issues with Add-ons communication with Control plane.
# This can be restricted further to specific port based on the requirement for each Add-on e.g., metrics-server 4443, spark-operator 8080, karpenter 8443 etc.
# Change this according to your security requirements if needed
ingress_cluster_to_node_all_traffic = {
description = "Cluster API to Nodegroup all traffic"
protocol = "-1"
from_port = 0
to_port = 0
type = "ingress"
source_cluster_security_group = true
}
}

create_aws_auth_configmap = local.create_aws_auth_configmap
manage_aws_auth_configmap = var.manage_aws_auth_configmap

Expand Down

0 comments on commit d9e0f76

Please sign in to comment.