Use a home subpath when using docker sidecar
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Steve McMaster 2025-04-28 12:17:08 -04:00
parent 83ae2d8ded
commit 446a6f68c2

View File

@ -511,6 +511,7 @@ resource "kubernetes_deployment" "main" {
volume_mount {
mount_path = "{{ coder_user_home }}"
name = "home"
sub_path = data.coder_parameter.docker_sidecar.value ? ".home" : ""
read_only = false
}
{% endblock %}