jenkins-x/jx

How to Update my GitHub Token in jenkins X

FranLucchini opened this issue · 2 comments

Hello,

My GitHub token expired recently, and our pipelines stopped working. I wanted to ask what steps I should follow to update the GitHub Bot's token. So far, we have re-applied the Terraform plan with the new token, but it didn't solve the issue.

I checked issue #6613, and the recommendation is to delete Jx pods, so they pull the new token manually. Is that what we need to do?

@FranLucchini how did you resolve this issue?
In our case I had to uninstall and re-install jx(version 3) with new bitbucket token since updating secrets and restarting the pod didn't help.

#6613 is old and concerns Jenkins X 2. I guess you are using Jenkins X 3. Since you initially set the bot token using terraform that would be the natural method of setting a new value. Did you try that?