Skip to content

Commit 36eca5c

Browse files
khalezinhalfb00t
andauthored
#73 added module for alb-ingress-controller (#92)
* #73 added module for alb-ingress-controller * #73 added template file * #73 fixed path to module * #73 fixed namespace variable * #73 Renamed loadbalancer controller module, fixed image tag and iam module name * #73 updated loc files * #73 changed aws loadbalancer variable name * #73 changed aws loadbalancer module name Co-authored-by: Andrew S <[email protected]>
1 parent b2285ef commit 36eca5c

File tree

14 files changed

+420
-184
lines changed

14 files changed

+420
-184
lines changed

terraform/layer1-aws/.terraform.lock.hcl

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

terraform/layer2-k8s/.terraform.lock.hcl

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
module "eks_alb_ingress" {
2+
source = "../modules/eks-aws-loadbalancer-controller"
3+
count = var.aws_loadbalancer_controller_enable ? 1 : 0
4+
5+
name = local.name
6+
region = local.region
7+
oidc_provider_arn = local.eks_oidc_provider_arn
8+
eks_cluster_id = local.eks_cluster_id
9+
vpc_id = local.vpc_id
10+
namespace = module.ing_namespace.name
11+
}

terraform/layer2-k8s/examples/eks-alb-ingress-controller.tf

Lines changed: 0 additions & 32 deletions
This file was deleted.

terraform/layer2-k8s/variables.tf

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -60,14 +60,10 @@ variable "nginx_ingress_ssl_terminator" {
6060
}
6161

6262
# ALB Ingress
63-
variable "alb_ingress_image_tag" {
64-
description = "Tag of docker image for alb-ingress controller"
65-
default = "v1.1.5"
66-
}
67-
68-
variable "alb_ingress_chart_version" {
69-
description = "Version of alb-ingress helm chart"
70-
default = "1.0.4"
63+
variable "aws_loadbalancer_controller_enable" {
64+
description = "Disable or Enable aws-loadbalancer-controller"
65+
type = bool
66+
default = true
7167
}
7268

7369
# Cluster autoscaler

terraform/modules/aws-iam-alb-ingress-controller/iam.tf

Lines changed: 0 additions & 144 deletions
This file was deleted.

0 commit comments

Comments
 (0)