Rotate GitHub PAT on Flux

Rotate GitHub PAT on Flux

If your GitHub token is expired and you need to update it 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 the first time

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