-
Notifications
You must be signed in to change notification settings - Fork 274
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: avoid crash during kubectl retry (#5098)
* fix: use forceRetry when using requestWithRetry with kubectl command This is needed because toKubernetesError does not know (and should not know) how to deal with a ChildProcessError. When using requestWithRetry for anything other than Kubernetes requests, forceRetry needs to be true. It's questionable if we should use requestWithRetry at all or we should rather resort to pRetry directly. * fix: use correct manifest loglevel in the error message
- Loading branch information
Showing
2 changed files
with
15 additions
and
9 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