Skip to content

Changing Kubernetes executor service-account command

What does this MR do?

It appears that the command --service-account to pass a service account to the Kubernetes executor is not valid anymore, we should use --kubernetes-service-account:

root@julius-test:~# gitlab-runner register --help | grep service-account
Runtime platform                                    arch=amd64 os=linux pid=24751 revision=efa30e33 version=13.2.1
   --kubernetes-service-account value                           Executor pods will use this Service Account to talk to kubernetes API [$KUBERNETES_SERVICE_ACCOUNT]
root@julius-test:~# 

Why was this MR needed?

What's the best way to test this MR?

What are the relevant issue numbers?

Merge request reports