From be12707b64113b6024e72e0be3018d6dc6ee07bf Mon Sep 17 00:00:00 2001 From: Valentin Khramtsov Date: Thu, 26 Dec 2024 16:27:41 +0300 Subject: [PATCH] fix: updated enabled applications in k8s-addons --- .../eks-aws-loadbalancer-controller.tf | 3 +- .../modules/k8s-addons/eks-loki-stack.tf | 3 + .../modules/k8s-addons/helm-releases.yaml | 10 +- .../demo/k8s-addons/.terraform.lock.hcl | 149 +++++++++--------- .../us-east-1/demo/k8s-addons/terragrunt.hcl | 2 +- 5 files changed, 88 insertions(+), 79 deletions(-) diff --git a/terraform/modules/k8s-addons/eks-aws-loadbalancer-controller.tf b/terraform/modules/k8s-addons/eks-aws-loadbalancer-controller.tf index 395451b..813c7ae 100644 --- a/terraform/modules/k8s-addons/eks-aws-loadbalancer-controller.tf +++ b/terraform/modules/k8s-addons/eks-aws-loadbalancer-controller.tf @@ -137,6 +137,7 @@ module "aws_iam_aws_loadbalancer_controller" { "elasticloadbalancing:DescribeLoadBalancerAttributes", "elasticloadbalancing:DescribeListeners", "elasticloadbalancing:DescribeListenerCertificates", + "elasticloadbalancing:DescribeListenerAttributes", "elasticloadbalancing:DescribeSSLPolicies", "elasticloadbalancing:DescribeRules", "elasticloadbalancing:DescribeTargetGroups", @@ -437,7 +438,6 @@ resource "kubernetes_ingress_v1" "default" { metadata { name = "${local.ingress_nginx.name}-controller" annotations = { - "kubernetes.io/ingress.class" = "alb" "alb.ingress.kubernetes.io/scheme" = "internet-facing" "alb.ingress.kubernetes.io/tags" = "Environment=${local.env},Name=${local.name},Cluster=${local.eks_cluster_id}" "alb.ingress.kubernetes.io/certificate-arn" = "${local.ssl_certificate_arn}" @@ -450,6 +450,7 @@ resource "kubernetes_ingress_v1" "default" { namespace = module.ingress_nginx_namespace[count.index].name } spec { + ingress_class_name = "alb" rule { http { path { diff --git a/terraform/modules/k8s-addons/eks-loki-stack.tf b/terraform/modules/k8s-addons/eks-loki-stack.tf index 3c22eb6..b9fb70b 100644 --- a/terraform/modules/k8s-addons/eks-loki-stack.tf +++ b/terraform/modules/k8s-addons/eks-loki-stack.tf @@ -10,6 +10,9 @@ locals { loki_stack_values = <