Rotate GitHub PAT on Flux

Rotate GitHub PAT on Flux

If your GitHub token is expired and you need to update it on Flux these are the steps you need to take:

  • delete the auth secret from the cluster with kubectl -n flux-system delete secret flux-system
  • re-run flux bootstrap with the same args as before

source: https://github.com/fluxcd/flux2/discussions/2161