-
Notifications
You must be signed in to change notification settings - Fork 275
Scrubbing annotations from logs #1324
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Updated scrubbing for guest side, and added scrubbing for annotations Signed-off-by: Hamza El-Saawy <[email protected]>
internal/guest/bridge/bridge.go
Outdated
|
|
||
| log.G(ctx).WithField("message", string(message)).Debug("request read message") | ||
|
|
||
| etry := log.G(ctx) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this supposed to be entry?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah, i forgot an n
internal/log/scrub.go
Outdated
| return nil | ||
| } | ||
| if ss, ok := m["ContainerConfig"]; ok { | ||
| // ContainerConfig is a json encoded struct passed as a regular sting field |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
string*
Signed-off-by: Hamza El-Saawy <[email protected]>
Updated scrubbing for guest side, and added scrubbing for annotations
Updated scrubbing to include logging from guest Linux GCS
Added scrubbing for annotations.
Signed-off-by: Hamza El-Saawy [email protected]