-
Notifications
You must be signed in to change notification settings - Fork 590
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(parser) debug log config on update failure
Add a new --log-failed-config flag. When enabled, if the reconciliation loop encounters an error, perform a diff against the last known good configuration and write it to a temporary file. At log level debug, dump a copy of the target configuration and a diff against the last known good configuration (if any) to disk. By default, redact certificate keys and credential secrets from the dump. The --log-sensitive-fields flag dumps these in the clear. These dumps can be used for offline troubleshooting outside the original Kubernetes environment. They are compatible with decK, and provide a way to inspect sync failures outside the controller in cases where the controller's error logging is ambiguous.
- Loading branch information
Travis Raines
committed
Jan 14, 2021
1 parent
ba4eea9
commit 81ac9dc
Showing
7 changed files
with
84 additions
and
3 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
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
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