Rasa X: Connect to repository - Permission to create ssh key inside of pod denied

Hello, I have been using the rasa X quick install script to deploy rasa X on a server. But I keep facing issues. And am a bit stuck at this point. When I try to connect rasa X to a GitLab repository I have the message: Something went wrong. Please try again.

This is caused by the following problem :

$ kubectl cluster-info dump --namespace=rasa/rasa-rasa-x-66db886dbc-nt2xq

/usr/local/lib/python3.7/site-packages/rasax/community/services/integrated_version_control/git_service.py:937: UserWarning: An error happened when trying to access '[email protected]:user/RasaBot.git'. It seems you don't have to correct permissions for this repository. Please check if your credentials are correct and you have write permissions in the given repository. The error was: Cmd('git') failed due to: exit code(128)
  cmdline: git clone --depth=1 -v [email protected]:user/RasaBot.git /tmp/tmpuw3bgv2c
  stderr: 'Cloning into '/tmp/tmpuw3bgv2c'...
Could not create directory '/root/.ssh'.
Warning: Permanently added 'XXX.XXX.X.XXX' (ECDSA) to the list of known hosts.
Permission denied, please try again.
Permission denied, please try again.
[email protected]: Permission denied (publickey,password).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
'.
  f"An error happened when trying to access '{repository_url}'. It seems "
ERROR:rasax.community.api.blueprints.git:Given repository credentials don't provide write permissions to the repository. Please make sure the ssh key is correct and the administrator of the remote repository gave you the required permissions.

The problem comes from the fact that the pod cannot create the ssh key on /root/.ssh.

Could not create directory '/root/.ssh'.

When I access a bash inside the shell I end up having the same issue: I don’t have root privileges inside the pod. How did it happen and how can I fix it?

I’m a bit stuck does someone have any lead?

OS NAME=“Ubuntu” VERSION=“18.04.3 LTS (Bionic Beaver)”

Rasa versions RASA_X_VERSION=0.31.1 RASA_VERSION=1.10.8

Same problem @Val did you solve it?