Deploying to Kubernetes with Jenkins

9/27/2021

I am trying to deploy to Kubernetes via Jenkins. I created a service account. In Jenkins configuration I added through cloud a Kubernetes itself and there is a connection. But when I am trying to run the pipeline there is an error like "user doesn't have permission". As I understood it is about default k8s user. The question is; how to mention in the pipeline my serviceaccount user for deploying?

-- SCSI-9
jenkins
kubernetes
pipeline

0 Answers