Skip to content

Commit

Permalink
fix(thanos): fix comparison for bucket creation (#3215)
Browse files Browse the repository at this point in the history
Signed-off-by: Amaury Ravanel <[email protected]>
Co-authored-by: Romain Guichard <[email protected]>
  • Loading branch information
visheyra and rguichard committed Feb 13, 2025
1 parent 76dd6a4 commit 0bcb031
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/google/thanos.tf
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ locals {

thanos_bucket = (
local.thanos["enabled"] && local.kube-prometheus-stack["enabled"] && local.kube-prometheus-stack["thanos_create_bucket"] ? module.kube-prometheus-stack_kube-prometheus-stack_bucket[0].name :
local.thanos["enabled"] && local.thanos["create_bucket"] ? module.thanos_bucket[0] : local.thanos["bucket"]
local.thanos["enabled"] && local.thanos["create_bucket"] ? module.thanos_bucket[0].name : local.thanos["bucket"]
)

values_thanos = <<-VALUES
Expand Down

0 comments on commit 0bcb031

Please sign in to comment.