-
Notifications
You must be signed in to change notification settings - Fork 431
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
Bump CAPI to v1.6.0 #4182
Bump CAPI to v1.6.0 #4182
Conversation
78afca0
to
a9cbcb8
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #4182 +/- ##
==========================================
- Coverage 60.89% 60.88% -0.02%
==========================================
Files 190 190
Lines 18983 18983
==========================================
- Hits 11559 11557 -2
- Misses 6787 6789 +2
Partials 637 637 ☔ View full report in Codecov by Sentry. |
Can you add "Fixes #4179" to the PR description? |
a095a41
to
c5d9373
Compare
c5d9373
to
2b33064
Compare
/retitle [WIP] Bump CAPI to v1.6.0-beta.1 |
eca83ec
to
7bae2ad
Compare
/retest |
bf3d257
to
7b0159f
Compare
7b0159f
to
8356d57
Compare
@CecileRobertMichon had pointed out:
I made an attempt at fixing this with @willie-yao but didn't get it working. I can try again, or I can fix it in a separate PR. |
I think I got it this time: a3d8384 |
a3d8384
to
235be85
Compare
I think we should also bump cert-manager to v1.13.2 (in this PR or immediately afterward). See kubernetes-sigs/cluster-api@9ee475f Edit: done. |
235be85
to
b62607e
Compare
@@ -475,6 +475,7 @@ generate-manifests: $(CONTROLLER_GEN) ## Generate manifests e.g. CRD, RBAC etc. | |||
output:webhook:dir=$(WEBHOOK_ROOT) \ | |||
webhook | |||
$(CONTROLLER_GEN) \ | |||
paths=./ \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why the added path here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
main.go now includes some kubebuilder annotations for RBAC related to the secure metrics endpoint changes in kubernetes-sigs/cluster-api#9264 so this probably should have been added before in #4248.
cluster-api-provider-azure/main.go
Lines 246 to 248 in 9e6361a
// Add RBAC for the authorized diagnostics endpoint. | |
// +kubebuilder:rbac:groups=authentication.k8s.io,resources=tokenreviews,verbs=create | |
// +kubebuilder:rbac:groups=authorization.k8s.io,resources=subjectaccessreviews,verbs=create |
test/e2e/aks_clusterclass.go
Outdated
Eventually(func(g Gomega) { | ||
err = mgmtClient.Get(ctx, types.NamespacedName{ | ||
Namespace: input.Cluster.Namespace, | ||
Name: input.Cluster.Name + "-pool0", | ||
Namespace: clusterClass.Spec.Workers.MachinePools[0].Template.Infrastructure.Ref.Namespace, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could we range over the MachinePools and use the index instead of hardcoding to 0 here?
b62607e
to
b545730
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
LGTM label has been added. Git tree hash: c3cb6a57a693b1add1bb1068c3fe46e57f64f3e2
|
/retest |
b545730
to
703a98b
Compare
@mboersma Was your last push just a rebase with no (or trivial) merge conflicts? |
Yes, just to resolve a conflict in |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/approve
LGTM label has been added. Git tree hash: 082999cd2a3c34ded239d42debf2f21efdb08797
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: CecileRobertMichon 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 |
/retest |
What type of PR is this?
/kind cleanup
What this PR does / why we need it:
Updates CAPI to v1.6.0 and all that entails.
Which issue(s) this PR fixes:
Fixes #4179
Special notes for your reviewer:
See the migration guide for information on the changes
still needed. I'll update this soon.Edit: updated.TODOs:
Release note: