This commit is contained in:
parent
6ddb37c07b
commit
59e9a042b1
22
base.tf.j2
22
base.tf.j2
@ -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 %}
|
||||||
|
|||||||
Reference in New Issue
Block a user