From 59e9a042b1621cbcf5b0c58ec82121b39d90c170 Mon Sep 17 00:00:00 2001 From: Steve McMaster Date: Sat, 10 May 2025 11:25:45 -0400 Subject: [PATCH] fix --- base.tf.j2 | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/base.tf.j2 b/base.tf.j2 index cd4a929..09e4e5d 100644 --- a/base.tf.j2 +++ b/base.tf.j2 @@ -583,19 +583,17 @@ resource "kubernetes_deployment" "main" { {% block homebrew_init_container %} init_container { - content { - name = "homebrew-init" - image = "homebrew/brew:latest" - # /bin/sh -c '' - command = ["sh", "-c", "test -d /mnt/linuxbrew/.linuxbrew/bin || rsync -av /home/linuxbrew/ /mnt/linuxbrew/"] - image_pull_policy = "{{ image_pull_policy }}" + name = "homebrew-init" + image = "homebrew/brew:latest" + # /bin/sh -c '' + command = ["sh", "-c", "test -d /mnt/linuxbrew/.linuxbrew/bin || rsync -av /home/linuxbrew/ /mnt/linuxbrew/"] + image_pull_policy = "{{ image_pull_policy }}" - volume_mount { - mount_path = "/mnt/linuxbrew" - name = "home" - sub_path = ".linuxbrew" - read_only = false - } + volume_mount { + mount_path = "/mnt/linuxbrew" + name = "home" + sub_path = ".linuxbrew" + read_only = false } } {% endblock %}