-
Notifications
You must be signed in to change notification settings - Fork 339
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
fix(kumactl) Only warn about version compatibility where it makes sense #2828
fix(kumactl) Only warn about version compatibility where it makes sense #2828
Conversation
081d4bb
to
90f74a9
Compare
Codecov Report
@@ Coverage Diff @@
## master #2828 +/- ##
==========================================
+ Coverage 52.01% 52.04% +0.03%
==========================================
Files 882 883 +1
Lines 51321 51358 +37
==========================================
+ Hits 26694 26731 +37
+ Misses 22514 22495 -19
- Partials 2113 2132 +19
Continue to review full report at Codecov.
|
90f74a9
to
667c3d2
Compare
Also remove logging with the k8s logger Signed-off-by: Michael Beaumont <mjboamail@gmail.com>
Warn for: apply, delete, generate, get, inspect Don't warn for: completion, config, install, uninstall, version Signed-off-by: Michael Beaumont <mjboamail@gmail.com>
667c3d2
to
877a100
Compare
Nice, that's much better. I'm a bit hesitant whether to include checks in
like it was suggested on the planning. That's a separate PR, but since we don't have a warning on kumactl version, it would be great to have server version explicit in kumactl |
(please make sure to backport it) |
Completely agree, I'm going to add this. |
…se (#2828) * fix(kumactl) Add method to check server version compatibility Also remove logging with the k8s logger Signed-off-by: Michael Beaumont <mjboamail@gmail.com> * fix(kumactl) Only warn about version compatibility where it makes sense Warn for: apply, delete, generate, get, inspect Don't warn for: completion, config, install, uninstall, version Signed-off-by: Michael Beaumont <mjboamail@gmail.com> (cherry picked from commit 4bf896a)
…se (#2828) * fix(kumactl) Add method to check server version compatibility Also remove logging with the k8s logger Signed-off-by: Michael Beaumont <mjboamail@gmail.com> * fix(kumactl) Only warn about version compatibility where it makes sense Warn for: apply, delete, generate, get, inspect Don't warn for: completion, config, install, uninstall, version Signed-off-by: Michael Beaumont <mjboamail@gmail.com> (cherry picked from commit 4bf896a) Signed-off-by: Mike <2266568+michaelbeaumont@users.noreply.github.com>
…se (#2828) (#2833) * fix(kumactl) Add method to check server version compatibility Also remove logging with the k8s logger Signed-off-by: Michael Beaumont <mjboamail@gmail.com> * fix(kumactl) Only warn about version compatibility where it makes sense Warn for: apply, delete, generate, get, inspect Don't warn for: completion, config, install, uninstall, version Signed-off-by: Michael Beaumont <mjboamail@gmail.com> (cherry picked from commit 4bf896a) Signed-off-by: Mike <2266568+michaelbeaumont@users.noreply.github.com> Co-authored-by: Mike <2266568+michaelbeaumont@users.noreply.github.com>
…se (kumahq#2828) * fix(kumactl) Add method to check server version compatibility Also remove logging with the k8s logger Signed-off-by: Michael Beaumont <mjboamail@gmail.com> * fix(kumactl) Only warn about version compatibility where it makes sense Warn for: apply, delete, generate, get, inspect Don't warn for: completion, config, install, uninstall, version Signed-off-by: Michael Beaumont <mjboamail@gmail.com>
…se (kumahq#2828) * fix(kumactl) Add method to check server version compatibility Also remove logging with the k8s logger Signed-off-by: Michael Beaumont <mjboamail@gmail.com> * fix(kumactl) Only warn about version compatibility where it makes sense Warn for: apply, delete, generate, get, inspect Don't warn for: completion, config, install, uninstall, version Signed-off-by: Michael Beaumont <mjboamail@gmail.com>
Summary
fix(kumactl) Only warn about version compatibility where it makes sense
Warn for: apply, delete, generate, get, inspect
Don't warn for: completion, config, install, uninstall, version
Full changelog
Testing
Backwards compatibility
backport-to-stable
label if the code is backwards compatible. Otherwise, list breaking changes.