Skip to content
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 (backport #2828) #2833

Merged
merged 1 commit into from
Sep 26, 2021

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Sep 24, 2021

This is an automatic backport of pull request #2828 done by Mergify.


Mergify commands and options

More conditions and actions can be found in the documentation.

You can also trigger Mergify actions by commenting on this pull request:

  • @Mergifyio refresh will re-evaluate the rules
  • @Mergifyio rebase will rebase this PR on its base branch
  • @Mergifyio update will merge the base branch into this PR
  • @Mergifyio backport <destination> will backport this PR on <destination> branch

Additionally, on Mergify dashboard you can:

  • look at your merge queues
  • generate the Mergify configuration with the config editor.

Finally, you can contact us on https://mergify.io/

@mergify mergify bot requested a review from a team as a code owner September 24, 2021 14:08
@codecov-commenter
Copy link

codecov-commenter commented Sep 24, 2021

Codecov Report

Merging #2833 (dc061bc) into release-1.3 (723452f) will increase coverage by 0.01%.
The diff coverage is 55.00%.

Impacted file tree graph

@@               Coverage Diff               @@
##           release-1.3    #2833      +/-   ##
===============================================
+ Coverage        52.12%   52.14%   +0.01%     
===============================================
  Files              881      882       +1     
  Lines            51232    51263      +31     
===============================================
+ Hits             26706    26731      +25     
+ Misses           22407    22393      -14     
- Partials          2119     2139      +20     
Impacted Files Coverage Δ
app/kumactl/cmd/apply/apply.go 74.73% <0.00%> (-1.61%) ⬇️
app/kumactl/cmd/delete/delete.go 82.92% <0.00%> (-4.26%) ⬇️
app/kumactl/cmd/root.go 76.59% <ø> (+2.45%) ⬆️
app/kumactl/pkg/cmd/root_context.go 59.79% <40.00%> (-10.94%) ⬇️
app/kumactl/pkg/cmd/util.go 60.00% <60.00%> (ø)
app/kumactl/cmd/generate/generate.go 73.33% <63.63%> (-26.67%) ⬇️
app/kumactl/cmd/get/get.go 80.00% <63.63%> (-20.00%) ⬇️
app/kumactl/cmd/inspect/inspect.go 77.77% <71.42%> (-22.23%) ⬇️
pkg/insights/resyncer.go 67.16% <0.00%> (ø)
... and 8 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 723452f...dc061bc. Read the comment docs.

…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>
@michaelbeaumont michaelbeaumont force-pushed the mergify/bp/release-1.3/pr-2828 branch from 37b0992 to dc061bc Compare September 24, 2021 15:03
@michaelbeaumont michaelbeaumont merged commit 2a6d429 into release-1.3 Sep 26, 2021
@michaelbeaumont michaelbeaumont deleted the mergify/bp/release-1.3/pr-2828 branch September 26, 2021 15:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants