Skip to content

Commit

Permalink
feat: upgrade aws lb controller
Browse files Browse the repository at this point in the history
  • Loading branch information
swibrow committed Jan 17, 2025
1 parent 3fcf460 commit 535e2bb
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 11 deletions.
17 changes: 6 additions & 11 deletions addons.tf
Original file line number Diff line number Diff line change
Expand Up @@ -77,18 +77,13 @@ module "addons" {
aws_load_balancer_controller = merge({
role_name = "aws-load-balancer-controller-${local.id}"
role_name_prefix = false
# race condition if this is not disabled. Serivce type LB will use intree controller.
# This just means annotations are needed for the service to use the aws load balancer controller

# renovate: datasource=helm depName=aws-load-balancer-controller registryUrl=https://aws.github.io/eks-charts
chart_version = "1.11.0"

wait = true

set = [{
name = "enableServiceMutatorWebhook"
value = "true"
}, {
name = "serviceMutatorWebhookConfig"
value = "Ignore"
}, {
name = "replicaCount"
value = 2
}, {
name = "enableServiceMonitor"
value = var.enable_prometheus_stack
}, {
Expand Down
3 changes: 3 additions & 0 deletions karpenter.tf
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,9 @@ module "karpenter_release" {
metadata:
name: default
spec:
# Required so containers can access node metadata
metadataOptions:
httpPutResponseHopLimit: 2
amiSelectorTerms:
- alias: bottlerocket@latest
role: ${module.karpenter.node_iam_role_name}
Expand Down

0 comments on commit 535e2bb

Please sign in to comment.