-
Notifications
You must be signed in to change notification settings - Fork 62
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: add brief err to CertificateStore CRD #846
Conversation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #846 +/- ##
==========================================
+ Coverage 54.90% 54.96% +0.06%
==========================================
Files 80 80
Lines 4732 4739 +7
==========================================
+ Hits 2598 2605 +7
Misses 1850 1850
Partials 284 284
☔ View full report in Codecov by Sentry. |
f805780
to
b5ace32
Compare
General question: Is the goal to just truncate the error message? I'm wondering if this will make it more confusing? |
I posted some screenshots before and after the pr. The target is to avoid displaying long message when listing resources. Truncating is just one possible solution. @fseldow and I also considered other options:
|
Thanks for clarifying. I understand the goal now. Truncating makes sense to me since user can just run describe to get the full error details. |
Thanks for making these diagnostics improvements. Really helps debuggability. |
Co-authored-by: Akash Singhal <akashsinghal@microsoft.com>
Description
What this PR does / why we need it:
Add truncated error message to CertificateStore Status to avoid displaying long error message when listing it.
Which issue(s) this PR fixes (optional, using
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when the PR gets merged):Fixes #843
Type of change
Please delete options that are not relevant.
main
branch)How Has This Been Tested?
Status before:
Status after:
Details when describing it:
Checklist:
Post Merge Requirements
Helm Chart Change