Skip to content

Commit

Permalink
fix: Helm-addon irsa_config default value for create_namespace condit…
Browse files Browse the repository at this point in the history
…ion (#1019)

Co-authored-by: Bryant Biggs <bryantbiggs@gmail.com>
  • Loading branch information
sebolabs and bryantbiggs committed Oct 4, 2022
1 parent 8f2803b commit 7ee138d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/kubernetes-addons/helm-addon/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ resource "helm_release" "addon" {
version = try(var.helm_config["version"], null)
timeout = try(var.helm_config["timeout"], 1200)
values = try(var.helm_config["values"], null)
create_namespace = var.irsa_config != null ? false : try(var.helm_config["create_namespace"], false)
create_namespace = length(var.irsa_config) > 0 ? false : try(var.helm_config["create_namespace"], false)
namespace = var.helm_config["namespace"]
lint = try(var.helm_config["lint"], false)
description = try(var.helm_config["description"], "")
Expand Down

0 comments on commit 7ee138d

Please sign in to comment.