Skip to content

Commit

Permalink
Merge pull request #111 from kloia/update-aws-eks-addons
Browse files Browse the repository at this point in the history
add karpenter & aws lb controller version
  • Loading branch information
ahmetayd authored Nov 1, 2023
2 parents c626028 + 7bdca83 commit c32b3ba
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
4 changes: 2 additions & 2 deletions aws-eks-addons/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ resource "helm_release" "aws_lb_controller" {
repository = "https://aws.github.io/eks-charts"
chart = "aws-load-balancer-controller"
namespace = "kube-system"
version = "1.6.1"
version = var.aws_lb_controller_version
depends_on = [
kubernetes_service_account.service-account
]
Expand Down Expand Up @@ -537,7 +537,7 @@ resource "helm_release" "karpenter" {
repository_username = data.aws_ecrpublic_authorization_token.token.user_name
repository_password = data.aws_ecrpublic_authorization_token.token.password
chart = "karpenter"
version = "v0.28.1"
version = var.karpenter_version

set {
name = "settings.aws.clusterName"
Expand Down
11 changes: 11 additions & 0 deletions aws-eks-addons/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ variable "deploy_rancher" {
variable "rancher_hostname" {
description = "Rancher Hostname"
type = string
default = ""
}

variable "deploy_rancher_monitoring" {
Expand Down Expand Up @@ -345,3 +346,13 @@ variable "gitops_url" {
description = "url of the argocd"
default = "https://gitops.platform.mycompany.com"
}

variable "aws_lb_controller_version" {
description = "AWS load balancer controller version"
default = "1.6.1"
}

variable "karpenter_version" {
description = "Karpenter version"
default = "v0.31.1"
}

0 comments on commit c32b3ba

Please sign in to comment.