Read -only error on config.toml file for kubernetes runner


When i deploy a kubernetes runner and i try to register the runner with “gitlab-runner register --url” i get this error at the end :

PANIC: saving the file: open /etc/gitlab-runner/config.toml: read-only file system

but i have all permissions on the file, can you please help me ?

Thanks in advance.