Skip to content
This repository was archived by the owner on Oct 10, 2023. It is now read-only.

Bump CAPI with rebased contents#3772

Merged
jeffwubj merged 15 commits intomainfrom
topic/jeffwubj/bump-capi-and-providers-rebased
Oct 31, 2022
Merged

Bump CAPI with rebased contents#3772
jeffwubj merged 15 commits intomainfrom
topic/jeffwubj/bump-capi-and-providers-rebased

Conversation

@jeffwubj
Copy link
Copy Markdown
Contributor

@jeffwubj jeffwubj commented Oct 27, 2022

What this PR does / why we need it

Which issue(s) this PR fixes

Fixes #
Bump Cluster API and providers, forked from #3699 with pipeline fix

Describe testing done for PR

  • upstream pipelines all passed
  • downstream install-azure, install-vc, multi-version vc passed
  • install-aws failed as expected, pipeline needs a re-work to align with new CAPA behaviour

Release note


Additional information

Special notes for your reviewer

@jeffwubj jeffwubj requested a review from a team as a code owner October 27, 2022 08:36
@jeffwubj jeffwubj requested a review from a team October 27, 2022 08:36
@jeffwubj jeffwubj requested a review from prkalle as a code owner October 27, 2022 08:36
@jeffwubj jeffwubj requested review from a team October 27, 2022 08:36
@jeffwubj jeffwubj requested a review from a team as a code owner October 27, 2022 08:36
@jeffwubj
Copy link
Copy Markdown
Contributor Author

//usebom:sandbox/v1.7.0-zshippable/431703182511446831/tkg-compatibility:v12

@jeffwubj jeffwubj force-pushed the topic/jeffwubj/bump-capi-and-providers-rebased branch from 5ac0f1e to 3fab37c Compare October 27, 2022 08:49
@github-actions
Copy link
Copy Markdown

Cluster Generation A/B Results:
https://storage.googleapis.com/tkg-clustergen/3772/20221027090607/clustergen.diff.txt
Author/reviewers:
Please review to verify that the effects on the generated cluster configurations are exactly what the PR intended, and give a thumbs-up if so.

@codecov
Copy link
Copy Markdown

codecov Bot commented Oct 27, 2022

Codecov Report

Merging #3772 (006af5a) into main (485f0ce) will decrease coverage by 0.88%.
The diff coverage is 66.66%.

@@            Coverage Diff             @@
##             main    #3772      +/-   ##
==========================================
- Coverage   46.58%   45.69%   -0.89%     
==========================================
  Files         400      425      +25     
  Lines       39722    41278    +1556     
==========================================
+ Hits        18504    18863     +359     
- Misses      19519    20700    +1181     
- Partials     1699     1715      +16     
Impacted Files Coverage Δ
tkg/client/init.go 0.00% <0.00%> (ø)
tkg/client/machine_deployment.go 61.86% <ø> (ø)
tkg/client/upgrade_cluster.go 44.62% <66.66%> (ø)
tkg/clusterclient/clusterclient.go 49.34% <85.71%> (ø)
cmd/cli/plugin/cluster/scale.go 17.85% <0.00%> (ø)
cmd/cli/plugin/cluster/delete_node_pool.go 16.66% <0.00%> (ø)
.../cli/plugin/cluster/set_machinehealthcheck_node.go 23.33% <0.00%> (ø)
cmd/cli/plugin/cluster/set_node_pool.go 14.63% <0.00%> (ø)
cmd/cli/plugin/cluster/list.go 9.52% <0.00%> (ø)
cmd/cli/plugin/cluster/delete.go 12.50% <0.00%> (ø)
... and 20 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Copy link
Copy Markdown
Contributor

@wjun wjun left a comment

Choose a reason for hiding this comment

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

LGTM!

@wjun wjun added the ok-to-merge PRs should be labelled with this before merging label Oct 27, 2022
Yuvaraj Kakaraparthi and others added 14 commits October 28, 2022 06:18
Signed-off-by: Sagar Muchhal <[email protected]>
Signed-off-by: Ashutosh Kumar <[email protected]>
Signed-off-by: Ashutosh Kumar <[email protected]>
This patch changes the overlays to include the customization of the
subnets for cluster creation only when using a custom VPC. The overlays
now check for the presence of the VPC ID and the public/private subnet
ID, before including those blocks for cluster YAML creation.

Since, the public/private subnets can be used only when using a custom
VPC. Otherwise we leave the AWSCluster.spec.network.subnets slice empty
and let CAPA handle the creation of the resources.

Signed-off-by: Sagar Muchhal <[email protected]>
@jeffwubj jeffwubj force-pushed the topic/jeffwubj/bump-capi-and-providers-rebased branch from 3fab37c to 80b89f4 Compare October 28, 2022 06:28
@github-actions
Copy link
Copy Markdown

Cluster Generation A/B Results:
https://storage.googleapis.com/tkg-clustergen/3772/20221028064346/clustergen.diff.txt
Author/reviewers:
Please review to verify that the effects on the generated cluster configurations are exactly what the PR intended, and give a thumbs-up if so.

@github-actions
Copy link
Copy Markdown

Cluster Generation A/B Results:
https://storage.googleapis.com/tkg-clustergen/3772/20221028064945/clustergen.diff.txt
Author/reviewers:
Please review to verify that the effects on the generated cluster configurations are exactly what the PR intended, and give a thumbs-up if so.

@jeffwubj jeffwubj force-pushed the topic/jeffwubj/bump-capi-and-providers-rebased branch from 3d86c51 to 6285a86 Compare October 28, 2022 11:57
@github-actions
Copy link
Copy Markdown

Cluster Generation A/B Results:
https://storage.googleapis.com/tkg-clustergen/3772/20221028120658/clustergen.diff.txt
Author/reviewers:
Please review to verify that the effects on the generated cluster configurations are exactly what the PR intended, and give a thumbs-up if so.

@jeffwubj jeffwubj force-pushed the topic/jeffwubj/bump-capi-and-providers-rebased branch from 6285a86 to 006af5a Compare October 28, 2022 12:36
@github-actions
Copy link
Copy Markdown

Cluster Generation A/B Results:
https://storage.googleapis.com/tkg-clustergen/3772/20221028124948/clustergen.diff.txt
Author/reviewers:
Please review to verify that the effects on the generated cluster configurations are exactly what the PR intended, and give a thumbs-up if so.

@jeffwubj jeffwubj merged commit f0091f7 into main Oct 31, 2022
@jeffwubj jeffwubj deleted the topic/jeffwubj/bump-capi-and-providers-rebased branch October 31, 2022 10:18
@jeffwubj jeffwubj restored the topic/jeffwubj/bump-capi-and-providers-rebased branch October 31, 2022 10:18
m1zzx2 pushed a commit that referenced this pull request Oct 31, 2022
* Bump CAPI to v1.2.3

* Bump CAPA to v2.0.0-beta.1 (v1beta2)

* Bump CAPV to v1.4.1

Signed-off-by: Sagar Muchhal <[email protected]>

* update go modules

* bump capz to v1.5.2

Signed-off-by: Ashutosh Kumar <[email protected]>

* update CAPI yamls to v1.2.4

* update CAPI go deps to v1.2.4

* bump capz to v1.5.3

Signed-off-by: Ashutosh Kumar <[email protected]>

* fix packages

* update UT with new aws IAM

* modify AWS provider

* rename provider of aws and vsphere to pickup changes

* revert folder name back to latest ones

* Fixes custom AWS VPC configuration

This patch changes the overlays to include the customization of the
subnets for cluster creation only when using a custom VPC. The overlays
now check for the presence of the VPC ID and the public/private subnet
ID, before including those blocks for cluster YAML creation.

Since, the public/private subnets can be used only when using a custom
VPC. Otherwise we leave the AWSCluster.spec.network.subnets slice empty
and let CAPA handle the creation of the resources.

Signed-off-by: Sagar Muchhal <[email protected]>

* update go.mod and go.sum after rebase

Signed-off-by: Sagar Muchhal <[email protected]>
Signed-off-by: Ashutosh Kumar <[email protected]>
Co-authored-by: Yuvaraj Kakaraparthi <[email protected]>
Co-authored-by: Sedef Savas <[email protected]>
Co-authored-by: Sagar Muchhal <[email protected]>
Co-authored-by: Ashutosh Kumar <[email protected]>
@vuil
Copy link
Copy Markdown
Contributor

vuil commented Oct 31, 2022

@jeffwubj please follow the PR template and provide some details on what the change is about, what tests were run, etc.
Not sure if it is just temporary, but looks like this change broke some workflows on main.

@jeffwubj
Copy link
Copy Markdown
Contributor Author

jeffwubj commented Nov 1, 2022

@jeffwubj please follow the PR template and provide some details on what the change is about, what tests were run, etc. Not sure if it is just temporary, but looks like this change broke some workflows on main.

hi @vuil : description updated. this is not temporary but the CAP* bump PR, I have re-run all tests in #3604 to see the latest status, seems all pipelines are still passed, feel free to let me know if anything has been found

@jeffwubj jeffwubj deleted the topic/jeffwubj/bump-capi-and-providers-rebased branch November 4, 2022 01:55
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

cla-not-required ok-to-merge PRs should be labelled with this before merging

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants