How to integrate Gitlab with Kubernetes

Hi, I’m using the kubernetes-deploy project ( to deploy my aplication automatically in my kubernetes cluster. Anyone could help how I have to create de token for the communication. I’m having this error

Error from server (Forbidden): error when retrieving current configuration of:
&{0xc420a41e00 0xc4202ad1f0 billing-api STDIN 0xc420966248 0xc420966248 false}
from server for: “STDIN”: User “system:serviceaccount:billing-api:default” cannot get namespaces in the namespace “billing-api”. (get namespaces billing-api)

I think I have to make some additional configuration, but I don’t know how to create the secret in kubernetes to get my token for the communication. Thanks