-
Notifications
You must be signed in to change notification settings - Fork 883
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
feat: send informer add k8s event #2834
Conversation
Signed-off-by: zachaller <[email protected]>
Signed-off-by: zachaller <[email protected]>
Signed-off-by: zachaller <[email protected]>
Signed-off-by: zachaller <[email protected]>
Signed-off-by: zachaller <[email protected]>
Signed-off-by: zachaller <[email protected]>
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## master #2834 +/- ##
==========================================
- Coverage 81.67% 81.64% -0.04%
==========================================
Files 133 133
Lines 20192 20202 +10
==========================================
+ Hits 16492 16494 +2
- Misses 2847 2853 +6
- Partials 853 855 +2
☔ View full report in Codecov by Sentry. |
not related to this PR, just want to ask is it possible to cherry-pick the ingress tls feature to 1.15 release? thanks @zachaller |
Signed-off-by: zachaller <[email protected]>
Signed-off-by: zachaller <[email protected]>
Signed-off-by: zachaller <[email protected]>
Signed-off-by: zachaller <[email protected]>
Signed-off-by: zachaller <[email protected]>
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.
Please check my comment
rollout/controller.go
Outdated
EventReason: conditions.RolloutAddedToInformerReason, | ||
}, "Rollout resource added to informer: %s/%s", ro.Namespace, ro.Name) | ||
} else { | ||
log.Warnf("Malformed rollout resource added to informer") |
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.
I am afraid that this message can be misleading if the cfg.Recorder
is nil. Also, it seems that unstructuredutil.ObjectToRollout
is already log warning if it fails to convert.
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.
Changed it up a bit to depend on the log from ObjectToRollout for ro=nil and handled the Recorder being nil log
Signed-off-by: zachaller <[email protected]>
Please retry analysis of this Pull-Request directly on SonarCloud. |
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
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.
LGTM
Checklist:
"fix(controller): Updates such and such. Fixes #1234"
.