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

feat(kumactl) add install control-plane --version flag for all components #2904

Merged
merged 3 commits into from
Oct 7, 2021

Conversation

michaelbeaumont
Copy link
Contributor

Summary

Make it easier to set the various version flags.

@codecov-commenter
Copy link

codecov-commenter commented Oct 6, 2021

Codecov Report

Merging #2904 (bcaa884) into master (b4ed8e6) will increase coverage by 0.07%.
The diff coverage is 35.71%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2904      +/-   ##
==========================================
+ Coverage   52.14%   52.21%   +0.07%     
==========================================
  Files         897      897              
  Lines       52069    52083      +14     
==========================================
+ Hits        27150    27195      +45     
+ Misses      22748    22715      -33     
- Partials     2171     2173       +2     
Impacted Files Coverage Δ
app/kumactl/cmd/install/install_control_plane.go 75.00% <35.71%> (-6.12%) ⬇️
api/observability/v1/mads.pb.go 35.56% <0.00%> (+1.03%) ⬆️
pkg/core/resources/model/rest/resource.go 69.23% <0.00%> (+1.28%) ⬆️
pkg/api-server/server.go 84.95% <0.00%> (+2.21%) ⬆️
pkg/mads/v1/client/client.go 43.75% <0.00%> (+2.50%) ⬆️
pkg/core/resources/manager/cache.go 84.41% <0.00%> (+2.59%) ⬆️
pkg/plugins/runtime/gateway/route/sorter.go 61.53% <0.00%> (+5.12%) ⬆️
pkg/core/bootstrap/autoconfig.go 54.46% <0.00%> (+8.03%) ⬆️
pkg/plugins/resources/postgres/events/listener.go 66.66% <0.00%> (+35.41%) ⬆️

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 b4ed8e6...bcaa884. Read the comment docs.

@michaelbeaumont michaelbeaumont marked this pull request as ready for review October 6, 2021 11:56
@michaelbeaumont michaelbeaumont requested a review from a team as a code owner October 6, 2021 11:56
Copy link
Contributor

@bartsmykla bartsmykla left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

except few nits lgtm

Comment on lines 24 to 26
}
func (cv *componentVersion) Set(v string) error {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
}
func (cv *componentVersion) Set(v string) error {
}
func (cv *componentVersion) Set(v string) error {

Comment on lines 32 to 35
}
func (cv *componentVersion) Type() string {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
}
func (cv *componentVersion) Type() string {
}
func (cv *componentVersion) Type() string {

…ents

Signed-off-by: Mike Beaumont <mjboamail@gmail.com>
Signed-off-by: Mike Beaumont <mjboamail@gmail.com>
Signed-off-by: Mike Beaumont <mjboamail@gmail.com>
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.

3 participants