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 %}
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 %}