Commit 4d769e26 authored by Danny's avatar Danny

remove name from port

parent 34a1cb7b
......@@ -24,6 +24,10 @@ resource "kubernetes_deployment" "aws_cluster_autoscaler_deployment" {
app = "aws-cluster-autoscaler"
instance = "aws-cluster-autoscaler-deploy"
}
annotations {
"iam.amazonaws.com/role" = "eks-cluster-autoscaler"
}
}
spec {
......@@ -81,7 +85,6 @@ resource "kubernetes_service" "cluster_autoscale_service" {
port = 8085
protocol = "TCP"
target_port = 8085
name = "HTTP"
}
selector {
......
......@@ -40,7 +40,7 @@ resource "aws_iam_policy" "this" {
}
resource "aws_iam_role" "this" {
name = "eks-alb-ingress-controller"
name = "eks-cluster-autoscaler"
assume_role_policy = "${data.aws_iam_policy_document.ec2_assume.json}"
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment