File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ project adheres to [Semantic Versioning](http://semver.org/).
12
12
- A useful addition (slam dunk, @self 🔥)
13
13
- Worker groups can be created with a specified IAM profile. (from @laverya )
14
14
- exposed ` aws_eks_cluster ` create and destroy timeouts (by @RGPosadas )
15
+ - Allow port 443 from EKS service to nodes to run ` metrics-server ` . (by @max-rocket-internet )
15
16
16
17
### Changed
17
18
Original file line number Diff line number Diff line change @@ -90,6 +90,17 @@ resource "aws_security_group_rule" "workers_ingress_cluster" {
90
90
count = " ${ var . worker_security_group_id == " " ? 1 : 0 } "
91
91
}
92
92
93
+ resource "aws_security_group_rule" "workers_ingress_cluster_https" {
94
+ description = " Allow pods running extension API servers on port 443 to receive communication from cluster control plane."
95
+ protocol = " tcp"
96
+ security_group_id = " ${ aws_security_group . workers . id } "
97
+ source_security_group_id = " ${ local . cluster_security_group_id } "
98
+ from_port = 443
99
+ to_port = 443
100
+ type = " ingress"
101
+ count = " ${ var . worker_security_group_id == " " ? 1 : 0 } "
102
+ }
103
+
93
104
resource "aws_iam_role" "workers" {
94
105
name_prefix = " ${ aws_eks_cluster . this . name } "
95
106
assume_role_policy = " ${ data . aws_iam_policy_document . workers_assume_role_policy . json } "
You can’t perform that action at this time.
0 commit comments