From 94e6bd557eaac041a29d34405966e14b735692ba Mon Sep 17 00:00:00 2001 From: Patrick Schratz Date: Sat, 30 Nov 2024 15:56:15 +0100 Subject: [PATCH 1/2] Update init.tf --- init.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.tf b/init.tf index d9c5eac1..e685a7ff 100644 --- a/init.tf +++ b/init.tf @@ -261,7 +261,7 @@ resource "null_resource" "kustomization" { content = templatefile( "${path.module}/templates/hcloud-csi.yaml.tpl", { - version = local.csi_version + version = coalesce(local.csi_version, "N/A") values = indent(4, trimspace(local.hetzner_csi_values)) }) destination = "/var/post_install/hcloud-csi.yaml" From 14a514b0cbb416341e4efd6fc8035d7a82ae5d4b Mon Sep 17 00:00:00 2001 From: pat-s Date: Sat, 30 Nov 2024 16:04:09 +0100 Subject: [PATCH 2/2] trim --- init.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.tf b/init.tf index e685a7ff..46b30788 100644 --- a/init.tf +++ b/init.tf @@ -261,7 +261,7 @@ resource "null_resource" "kustomization" { content = templatefile( "${path.module}/templates/hcloud-csi.yaml.tpl", { - version = coalesce(local.csi_version, "N/A") + version = coalesce(local.csi_version, "N/A") values = indent(4, trimspace(local.hetzner_csi_values)) }) destination = "/var/post_install/hcloud-csi.yaml"