Skip to content

Commit

Permalink
Feature/fix flux java dashboard (#288)
Browse files Browse the repository at this point in the history
* Added depends on to ensure flux is installed before dashboards are created when enabled

* Added depends on to ensure flux is installed before dashboards are created when enabled

* Pre-commit fixes

---------

Co-authored-by: Rodrigue Koffi <bonclay7@users.noreply.github.com>
  • Loading branch information
hmuthusamy and bonclay7 authored Oct 31, 2024
1 parent 090b6eb commit 0fe3950
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions modules/eks-monitoring/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -237,20 +237,23 @@ module "java_monitoring" {
count = var.enable_java ? 1 : 0

pattern_config = coalesce(var.java_config, local.java_pattern_config)
depends_on = [resource.helm_release.fluxcd]
}

module "nginx_monitoring" {
source = "./patterns/nginx"
count = var.enable_nginx ? 1 : 0

pattern_config = local.nginx_pattern_config
depends_on = [resource.helm_release.fluxcd]
}

module "istio_monitoring" {
source = "./patterns/istio"
count = var.enable_istio ? 1 : 0

pattern_config = coalesce(var.istio_config, local.istio_pattern_config)
depends_on = [resource.helm_release.fluxcd]
}

module "fluentbit_logs" {
Expand Down

0 comments on commit 0fe3950

Please sign in to comment.