โ† Back to Pull requests

๐ŸŒฑ Bump to Kubernetes 1.35 and Cluster API 1.13 #6150

Closed
unknown closed this pull request without merging on Jul 28, 2026 17:18 UTC
View on GitHub
unknown unknown commented on Jul 23, 2026 16:32 UTC
Author

<!-- Thanks for this PR! -->

What type of PR is this?

/kind feature

I suggest reviewing by commit.

What this PR does / why we need it:

Bumps the project to Kubernetes 1.35 and Cluster API 1.13, including all related dependency and configuration updates.

Dependencies bumped:

  • Cluster API v1.12.8 โ†’ v1.13.4

  • controller-runtime v0.22.5 โ†’ v0.23.3

  • k8s.io/* v0.34.8 โ†’ v0.35.4

  • kind v0.31.0 โ†’ v0.32.0

  • cert-manager v1.17.2 โ†’ v1.20.3
  • Migration changes:

  • Migrate all 18 webhook files to controller-runtime v0.23 generic NewWebhookManagedBy API

  • Fix nil pointer panics in fuzzy conversion tests (latent bugs exposed by CAPI v1.13 fuzzer)

  • Add SA1019 lint exclusions for deprecated interfaces (separate refactor needed for full migration)
  • Version references updated:

  • versions.mk: CAPI_VERSION, CERT_MANAGER_VERSION

  • Makefile: KUBEBUILDER_ENVTEST_KUBERNETES_VERSION, SETUP_ENVTEST_VER

  • metadata.yaml: add CAPA 2.13 release series entry
  • E2e configuration updated:

  • Management cluster: k8s v1.35.5 (KIND v0.32.0)

  • Workload cluster: k8s v1.35.7

  • Upgrade from: v1.34.10, etcd 3.6.6-0, coredns v1.13.1

  • CAPI provider images: v1.13.4
  • Also included:

  • Add bump-k8s-capi agents skill and developer guide
  • Which issue(s) this PR fixes _(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged)_:
    Fixes #

    Special notes for your reviewer:

  • TestResolveCreatorForTargetAccount/CrossAccountInstallerRoleARN fails identically on main โ€” it's a pre-existing bug in the upstream rosa library (ClientBuilder.Build() panics when only CapaLogger is set without a logrus logger). Not caused by this bump.

  • Please kick off the optional full e2e (pull-cluster-api-provider-aws-e2e) and full EKS e2e (pull-cluster-api-provider-aws-e2e-eks) presubmit jobs. If they fail, compare against periodic results at: https://testgrid.k8s.io/sig-cluster-lifecycle-cluster-api-provider-aws
  • AI Usage:

    Claude Code (claude-opus-4-6) was used to assist with researching versions, performing the mechanical bump, migrating webhooks, and fixing conversion test failures โ€” following the bump-k8s-capi skill/guide added in this PR.

    Checklist:

  • squashed commits

  • includes documentation

  • [X] includes AI generated content

  • includes emoji in title

  • adds unit tests

  • [X] adds or updates e2e tests
  • Release note:

    ``release-note
    chore(bump): Kubernetes 1.35 and Cluster API 1.13
    ``

    Diff: 321 lines (+240 / -81) across 4 files Reviewer: nrb Review duration: 7245m
    All Vouch review confidence checks passed
    Residual risk 0.26 = Change Risk (0.65) ร— (1 โˆ’ Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 ยท Change Risk (XGBoost)
    Score: 0.65 ยท 321 lines diff across 4 files
    0.65
    Model 2 ยท Review Depth (DistilBERT)
    Depth Score: 0.17 ยท 1 substantive comment(s)
    0.17
    Model 3 ยท Review Timing & Attention
    Session adequacy: 100% ยท Reviewer familiarity: 35%
    60%
    Bedrock Claude 3 ยท Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 ยท Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.345
    Shallow Review Depth shallow_review_depth
    0.289
    Sensitive Paths sensitive_paths
    0.065
    Real PR Conversation Timeline
    1 comments
    "Review active on #6150"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% reviewed sensitive_module
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk ยท Model 1 (XGBoost)
    Predicted defect probability (0.00โ€“1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 65.1% (HIGH) ยท Higher = larger blast radius
    65.1%
    Review Confidence
    Review Confidence ยท Models 2 & 3
    Scrutiny score (0.00โ€“1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 60.5% ยท Lower = rushed or shallow review
    60.5%
    Residual Risk
    Residual Risk ยท Core Equation
    Residual = Change ร— (1 โˆ’ Confidence)
    Unmitigated risk surviving review. โ‰ฅ 0.65 triggers an automated re-queue to protect production.
    Score: 25.7% ยท Safe to merge
    25.7%