Mounting files via configmap, secret or PVC that conflict with stow directory files, this causes the stow command to fail when running persistentUserHome in the DWOC is enabled.
How To Reproduce
Create a configmap that creates a file that conflicts with a file in the /home/tooling directory of the UDI image, such as /home/user/.config/containers/storage.conf:
Description
Mounting files via configmap, secret or PVC that conflict with stow directory files, this causes the stow command to fail when running persistentUserHome in the DWOC is enabled.
How To Reproduce
Create a configmap that creates a file that conflicts with a file in the /home/tooling directory of the UDI image, such as
/home/user/.config/containers/storage.conf
:Enable
persistUserHome
in the DWOC:Create this DevWorkspace:
When the workspace is running, run the following command in the udi container to verify that the stow command in the UDI's entrypoint did not succeed:
Expected behavior
It would be great if the stow command should succeed
Additional context