Deploy using kubernetes integration

Hi,

At the moment I am using gitlab ci and deploying to my kubernetes cluster without the gitlab kubernetes integration.
I have an image with my credentials and running kubeclt commands to update my images, for example:

kubectl --namespace live set image deployment.v1.apps/my-app my-app=$CONTAINER_IMAGE:$CI_BUILD_REF

Once the integration activated the CI was creating namespace, something like {my-app-name}-{random-number}-{environment}

And my job did not have the right to deploy on my live namespace

Error from server (Forbidden): deployments.apps "my-app" is forbidden: User "system:serviceaccount:my-app-13-production:my-app-13-production-service-account" cannot get resource "deployments" in API group "apps" in the namespace "live"

I can not find a documentation to explain how the deployment works when kubernetes is pluged with gitlab.