-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Pre-check streaming websockets on config validation #9324
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
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: saschagrunert The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
d53ee48
to
20f7796
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #9324 +/- ##
==========================================
- Coverage 66.91% 66.88% -0.04%
==========================================
Files 198 198
Lines 27406 27426 +20
==========================================
+ Hits 18340 18345 +5
- Misses 7551 7563 +12
- Partials 1515 1518 +3 🚀 New features to boost your workflow:
|
This change disallows streaming websockets for other runtimes than "pod". If conmon-rs version API is available, then it will also print the version. If the version API is not available, then the config validation implicitly assumes that conmon-rs < 0.7.0 is being used, which does not support the streaming server at all. Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
20f7796
to
898a9d0
Compare
@cri-o/cri-o-maintainers PTAL |
/lgtm |
What type of PR is this?
/kind feature
What this PR does / why we need it:
Use the new conmon-rs API to pre-validate the version requirements.
Which issue(s) this PR fixes:
None
Special notes for your reviewer:
None
Does this PR introduce a user-facing change?