However, this functionality depends on a postStart event that modifies the ~/.bashrc to configure the ssh-agent to use the SSH passphrase. If a user provides their own ~/.bashrc using an automount configmap, the .bashrc will not be writeable and thus this modification to the .bashrc will fail.
We should document this caveat in the DWO additional docs, to inform users that they must manually configure the ssh-agent themselves in their .bashrc.
https://github.com/devfile/devworkspace-operator/pull/1307 provided the ability for your SSH passphrase to automatically be used by the ssh-agent when performing git operations.
However, this functionality depends on a postStart event that modifies the
~/.bashrc
to configure the ssh-agent to use the SSH passphrase. If a user provides their own~/.bashrc
using an automount configmap, the .bashrc will not be writeable and thus this modification to the .bashrc will fail.We should document this caveat in the DWO additional docs, to inform users that they must manually configure the ssh-agent themselves in their .bashrc.