-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sidecar: fix sidecar crashing with lstat errors during a reload from …
…a configmap update During a reload it's possible that files are added/removed while we walk the directory and we try to lstat a file that doesn't exist. This is especially common if running in k8s with the configuration mounted as a configmap, and the configmap contents change. With this change we will retry for a short while if we hit any filesystem errors during the reload while trying to calculate the hash. Signed-off-by: Ergin Babani <[email protected]>
- Loading branch information
Ergin Babani
committed
Jul 31, 2020
1 parent
ee52915
commit 464fb83
Showing
3 changed files
with
175 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters