mirror of https://github.com/fluxcd/flux2.git
Update gcr access token in place
It's possible to update secrets in place instead of removing and creating a new one. But what's wrong with the old way of doing things you may ask. If jobs for GCR synchronization and token refreshment lunch at the same time and they sometimes will we will get the following error: `Secret "gcr-credentials" not found` This happens because: 1. token was deleted by Token Refresh Job 2. GCR synchronization will begin and fail because there is no token 3. new token will be created. Updating the token in place fixes this issue.pull/1175/head
parent
ec2c71f9ef
commit
a99e98ea55
Loading…
Reference in New Issue