Use a home subpath when using docker sidecar
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
83ae2d8ded
commit
446a6f68c2
@ -511,6 +511,7 @@ resource "kubernetes_deployment" "main" {
|
|||||||
volume_mount {
|
volume_mount {
|
||||||
mount_path = "{{ coder_user_home }}"
|
mount_path = "{{ coder_user_home }}"
|
||||||
name = "home"
|
name = "home"
|
||||||
|
sub_path = data.coder_parameter.docker_sidecar.value ? ".home" : ""
|
||||||
read_only = false
|
read_only = false
|
||||||
}
|
}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|||||||
Reference in New Issue
Block a user