fix
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Steve McMaster 2025-05-10 11:25:45 -04:00
parent 6ddb37c07b
commit 59e9a042b1

View File

@ -583,19 +583,17 @@ resource "kubernetes_deployment" "main" {
{% block homebrew_init_container %} {% block homebrew_init_container %}
init_container { init_container {
content { name = "homebrew-init"
name = "homebrew-init" image = "homebrew/brew:latest"
image = "homebrew/brew:latest" # /bin/sh -c ''
# /bin/sh -c '' command = ["sh", "-c", "test -d /mnt/linuxbrew/.linuxbrew/bin || rsync -av /home/linuxbrew/ /mnt/linuxbrew/"]
command = ["sh", "-c", "test -d /mnt/linuxbrew/.linuxbrew/bin || rsync -av /home/linuxbrew/ /mnt/linuxbrew/"] image_pull_policy = "{{ image_pull_policy }}"
image_pull_policy = "{{ image_pull_policy }}"
volume_mount { volume_mount {
mount_path = "/mnt/linuxbrew" mount_path = "/mnt/linuxbrew"
name = "home" name = "home"
sub_path = ".linuxbrew" sub_path = ".linuxbrew"
read_only = false read_only = false
}
} }
} }
{% endblock %} {% endblock %}