Skip to content

Commit

Permalink
Update main.tf
Browse files Browse the repository at this point in the history
  • Loading branch information
patrick-hermann-sva authored Jun 16, 2024
1 parent ee241ef commit c38563a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,12 @@ resource "flux_bootstrap_git" "flux2" {

path = var.target_path
components_extra = var.components_extra
kustomization_override = templatefile("${path.module}/templates/kustomization-patch.yaml.tpl", { patch = var.kustomization_patch })
kustomization_override = yamldecode(templatefile(
"${path.module}/templates/kustomization-patch.yaml.tpl",
{
patches = var.kustomization_patch
}
))
embedded_manifests = true
keep_namespace = var.keep_namespace
}

0 comments on commit c38563a

Please sign in to comment.