Skip to content

Commit

Permalink
fix: updated enabled applications in k8s-addons
Browse files Browse the repository at this point in the history
  • Loading branch information
kvvit committed Dec 26, 2024
1 parent 3fa0e62 commit be12707
Show file tree
Hide file tree
Showing 5 changed files with 88 additions and 79 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ module "aws_iam_aws_loadbalancer_controller" {
"elasticloadbalancing:DescribeLoadBalancerAttributes",
"elasticloadbalancing:DescribeListeners",
"elasticloadbalancing:DescribeListenerCertificates",
"elasticloadbalancing:DescribeListenerAttributes",
"elasticloadbalancing:DescribeSSLPolicies",
"elasticloadbalancing:DescribeRules",
"elasticloadbalancing:DescribeTargetGroups",
Expand Down Expand Up @@ -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}"
Expand All @@ -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 {
Expand Down
3 changes: 3 additions & 0 deletions terraform/modules/k8s-addons/eks-loki-stack.tf
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ locals {
loki_stack_values = <<VALUES
loki:
enabled: true
image:
repository: grafana/loki
tag: 2.9.11
rbac:
create: true
pspEnabled: false # Due to psp removed in k8s 1.25 and latest loki-stack chart doesn't maintain new PSP version
Expand Down
10 changes: 5 additions & 5 deletions terraform/modules/k8s-addons/helm-releases.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ releases:
enabled: true
chart: aws-load-balancer-controller
repository: https://aws.github.io/eks-charts
chart_version: 1.7.2
chart_version: 1.11.0
namespace: aws-load-balancer-controller
- id: cert-manager
enabled: false
Expand Down Expand Up @@ -39,7 +39,7 @@ releases:
enabled: true
chart: external-secrets
repository: https://charts.external-secrets.io
chart_version: 0.10.0
chart_version: 0.11.0
namespace: external-secrets
- id: gitlab-runner
enabled: false
Expand All @@ -51,7 +51,7 @@ releases:
enabled: true
chart: ingress-nginx
repository: https://kubernetes.github.io/ingress-nginx
chart_version: 4.10.1
chart_version: 4.11.3
namespace: ingress-nginx
- id: istio
enabled: false
Expand All @@ -75,7 +75,7 @@ releases:
enabled: true
chart: kube-prometheus-stack
repository: https://prometheus-community.github.io/helm-charts
chart_version: 61.3.1
chart_version: 67.3.1
namespace: monitoring
- id: loki-stack
enabled: true
Expand All @@ -87,7 +87,7 @@ releases:
enabled: true
chart: reloader
repository: https://stakater.github.io/stakater-charts
chart_version: 1.0.97
chart_version: 1.2.0
namespace: reloader
- id: victoria-metrics-k8s-stack
enabled: false
Expand Down
149 changes: 77 additions & 72 deletions terragrunt/ACCOUNT_ID/us-east-1/demo/k8s-addons/.terraform.lock.hcl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ terraform {
version = "${include.root.locals.tf_providers.kubernetes}"
}
kubectl = {
source = "gavinbunney/kubectl"
source = "alekc/kubectl"
version = "${include.root.locals.tf_providers.kubectl}"
}
helm = {
Expand Down

0 comments on commit be12707

Please sign in to comment.