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 %}
|
||||
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 %}
|
||||
|
||||
Reference in New Issue
Block a user