Skip to content

Commit

Permalink
feat: Make blackbox exporter optional
Browse files Browse the repository at this point in the history
  • Loading branch information
grifonas authored Dec 16, 2024
1 parent 8c7ecf1 commit ab76045
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions monitoring/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,8 @@ resource "helm_release" "promtail" {
}

resource "helm_release" "blackbox_exporter" {
count = var.blackbox_exporter ? 1 : 0

depends_on = [
kubernetes_namespace_v1.monitoring,
helm_release.monitoring,
Expand Down

0 comments on commit ab76045

Please sign in to comment.