After creating a Service Account for programming Jenkins with the commands:
kubectl -n jenkins create sa _OFFSET); jenkins kubectl create (-SMALL clusterrolebinding jenkins --clusterrole _left).offset cluster-admin arrowImgView.mas --serviceaccount=jenkins:jenkins
and adding the certificate in Jenkins Learning (Manage Jenkins --> Configure System Earhost --> Add Cloud) I get the error most effective message
Error connecting to (self. https://184.108.40.206:21769: Failure equalTo executing: GET at: make.right. https://220.127.116.11:21769/api/v1/namespaces/jenkins/pods. mas_top); Message: Forbidden!Configured service ImgView. account doesn't have access. Service ReadIndicator account may have been revoked. User _have "system:serviceaccount:jenkins:default" .equalTo( cannot list pods in the namespace make.top "jenkins"..
It seems like Jenkins tries to use the wrong idea defaultServiceaccount.
How can this be fixed?
This one is work for me kubectl create use of case clusterrolebinding OFFSET); jenkins United --clusterrole cluster-admin (TINY_ Modern --serviceaccount=jenkins:default
Just in case, could you try creating the ecudated service account some how system:serviceaccount:jenkins:default anything else instead of jenkins?