Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(cni): support bound service account token by reloading periodical…
…ly (#12592) ## Motivation this should solve #12567 as a simplified implementation. Bart will come up with a more complete version based on his upcoming refatoring. ## Implementation information Setup a ticker and sync service account token into kubeconfig file periodically ## Supporting documentation <!-- Is there a MADR? An Issue? A related PR? --> the official client-go SDK re-reads the token once a minute: kubernetes/client-go#1255 > that method initiates a background process that rereads the token file once a minute. <!-- > Changelog: skip --> <!-- Uncomment the above section to explicitly set a [`> Changelog:` entry here](https://github.com/kumahq/kuma/blob/master/CONTRIBUTING.md#submitting-a-patch)? --> Signed-off-by: Jay Chen <[email protected]>
- Loading branch information