Skip to content

AUTOSCALE-644: bump karpenter deps to 1.13.0 - #9170

Merged
openshift-merge-bot[bot] merged 1 commit into
openshift:mainfrom
maxcao13:karpenter-release-chores-5.0
Jul 31, 2026
Merged

openshift-merge-bot[bot] merged 1 commit into
openshift:mainfrom
maxcao13:karpenter-release-chores-5.0

Conversation

@maxcao13

@maxcao13 maxcao13 commented Jul 29, 2026 •

Copy link
Copy Markdown
Member

What this PR does / why we need it:

Bumps karpenter deps to 1.13.0 for core library and 1.13.0 for aws provider. Updates replaced directive to point to our recently rebased downstream repos.

Also syncs karpenter CRDS and adjusts the cel validations using make karpenter-api.

Supersedes #9066 because of recent CAPI bump merge conflicts.

Which issue(s) this PR fixes:

https://redhat.atlassian.net/browse/AUTOSCALE-644

Special notes for your reviewer:

Checklist:

  • Subject and description added to both, commit and PR.
  • Relevant issues have been referenced.
  • This change includes docs.
  • This change includes unit tests.

Summary by CodeRabbit

  • Chores
    • Updated underlying platform components and supporting libraries.
    • Refreshed internal component references to newer revisions for improved compatibility and maintenance.

Bumps karpenter deps to 1.13.0 for core library and 1.13.0 for aws provider.
Updates replaced directive to point to our recently rebased downstream repos.

Also syncs karpenter CRDS and adjusts the cel validations using make karpenter-api.

Signed-off-by: Max Cao <macao@redhat.com>
Co-authored-by: Ayush Laxhar <alaxkar@redhat.com>
@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Jul 29, 2026
@openshift-ci-robot

openshift-ci-robot commented Jul 29, 2026 •

Copy link
Copy Markdown

@maxcao13: This pull request references AUTOSCALE-644 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the task to target the "5.0.0" version, but no target version was set.

Details

In response to this:

What this PR does / why we need it:

Bumps karpenter deps to 1.13.0 for core library and 1.13.0 for aws provider. Updates replaced directive to point to our recently rebased downstream repos.

Also syncs karpenter CRDS and adjusts the cel validations using make karpenter-api.

Supersedes #9066 because of recent CAPI bump merge conflicts.

Which issue(s) this PR fixes:

https://redhat.atlassian.net/browse/AUTOSCALE-644

Special notes for your reviewer:

Checklist:

  • Subject and description added to both, commit and PR.
  • Relevant issues have been referenced.
  • This change includes docs.
  • This change includes unit tests.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

Pipeline controller notification
This repo is configured to use the pipeline controller. Second-stage tests will be triggered either automatically or after lgtm label is added, depending on the repository configuration. The pipeline controller will automatically detect which contexts are required and will utilize /test Prow commands to trigger the second stage.

For optional jobs, comment /test ? to see a list of all defined jobs. To trigger manually all jobs from second stage use /pipeline required command.

This repository is configured in: LGTM mode

@coderabbitai

coderabbitai Bot commented Jul 29, 2026 •

Copy link
Copy Markdown
Contributor

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository YAML (base), Central YAML (inherited)

Review profile: CHILL

Plan: Enterprise

Run ID: 7cc3d764-75be-4af4-91cb-175bba55ffaa

📥 Commits

Reviewing files that changed from the base of the PR and between 60a298a and e592cb7.

⛔ Files ignored due to path filters (48)
  • go.sum is excluded by !**/*.sum
  • karpenter-operator/controllers/karpenter/assets/karpenter.k8s.aws_ec2nodeclasses.yaml is excluded by !karpenter-operator/controllers/karpenter/assets/*.yaml
  • karpenter-operator/controllers/karpenter/assets/karpenter.sh_nodeclaims.yaml is excluded by !karpenter-operator/controllers/karpenter/assets/*.yaml
  • karpenter-operator/controllers/karpenter/assets/karpenter.sh_nodeoverlays.yaml is excluded by !karpenter-operator/controllers/karpenter/assets/*.yaml
  • karpenter-operator/controllers/karpenter/assets/karpenter.sh_nodepools.yaml is excluded by !karpenter-operator/controllers/karpenter/assets/*.yaml
  • vendor/github.com/aws/karpenter-provider-aws/pkg/apis/crds/karpenter.k8s.aws_ec2nodeclasses.yaml is excluded by !vendor/**, !**/vendor/**
  • vendor/github.com/aws/karpenter-provider-aws/pkg/apis/crds/karpenter.sh_nodeclaims.yaml is excluded by !vendor/**, !**/vendor/**
  • vendor/github.com/aws/karpenter-provider-aws/pkg/apis/crds/karpenter.sh_nodeoverlays.yaml is excluded by !vendor/**, !**/vendor/**
  • vendor/github.com/aws/karpenter-provider-aws/pkg/apis/crds/karpenter.sh_nodepools.yaml is excluded by !vendor/**, !**/vendor/**
  • vendor/github.com/aws/karpenter-provider-aws/pkg/apis/v1/ec2nodeclass.go is excluded by !vendor/**, !**/vendor/**
  • vendor/github.com/aws/karpenter-provider-aws/pkg/apis/v1/ec2nodeclass_status.go is excluded by !vendor/**, !**/vendor/**
  • vendor/github.com/aws/karpenter-provider-aws/pkg/apis/v1/labels.go is excluded by !vendor/**, !**/vendor/**
  • vendor/github.com/aws/karpenter-provider-aws/pkg/apis/v1/zz_generated.deepcopy.go is excluded by !vendor/**, !**/vendor/**, !**/zz_generated*.go, !**/zz_generated*
  • vendor/github.com/awslabs/operatorpkg/status/condition.go is excluded by !vendor/**, !**/vendor/**
  • vendor/github.com/awslabs/operatorpkg/status/condition_set.go is excluded by !vendor/**, !**/vendor/**
  • vendor/github.com/awslabs/operatorpkg/status/unstructured_adapter.go is excluded by !vendor/**, !**/vendor/**
  • vendor/github.com/samber/lo/.golangci.yml is excluded by !vendor/**, !**/vendor/**
  • vendor/github.com/samber/lo/Makefile is excluded by !vendor/**, !**/vendor/**
  • vendor/github.com/samber/lo/README.md is excluded by !vendor/**, !**/vendor/**
  • vendor/github.com/samber/lo/channel.go is excluded by !vendor/**, !**/vendor/**
  • vendor/github.com/samber/lo/concurrency.go is excluded by !vendor/**, !**/vendor/**
  • vendor/github.com/samber/lo/condition.go is excluded by !vendor/**, !**/vendor/**
  • vendor/github.com/samber/lo/errors.go is excluded by !vendor/**, !**/vendor/**
  • vendor/github.com/samber/lo/find.go is excluded by !vendor/**, !**/vendor/**
  • vendor/github.com/samber/lo/intersect.go is excluded by !vendor/**, !**/vendor/**
  • vendor/github.com/samber/lo/map.go is excluded by !vendor/**, !**/vendor/**
  • vendor/github.com/samber/lo/math.go is excluded by !vendor/**, !**/vendor/**
  • vendor/github.com/samber/lo/mutable/slice.go is excluded by !vendor/**, !**/vendor/**
  • vendor/github.com/samber/lo/retry.go is excluded by !vendor/**, !**/vendor/**
  • vendor/github.com/samber/lo/slice.go is excluded by !vendor/**, !**/vendor/**
  • vendor/github.com/samber/lo/string.go is excluded by !vendor/**, !**/vendor/**
  • vendor/github.com/samber/lo/time.go is excluded by !vendor/**, !**/vendor/**
  • vendor/github.com/samber/lo/tuples.go is excluded by !vendor/**, !**/vendor/**
  • vendor/github.com/samber/lo/type_manipulation.go is excluded by !vendor/**, !**/vendor/**
  • vendor/modules.txt is excluded by !vendor/**, !**/vendor/**
  • vendor/sigs.k8s.io/karpenter/pkg/apis/crds/karpenter.sh_nodeclaims.yaml is excluded by !vendor/**, !**/vendor/**
  • vendor/sigs.k8s.io/karpenter/pkg/apis/crds/karpenter.sh_nodeoverlays.yaml is excluded by !vendor/**, !**/vendor/**
  • vendor/sigs.k8s.io/karpenter/pkg/apis/crds/karpenter.sh_nodepools.yaml is excluded by !vendor/**, !**/vendor/**
  • vendor/sigs.k8s.io/karpenter/pkg/apis/v1/duration.go is excluded by !vendor/**, !**/vendor/**
  • vendor/sigs.k8s.io/karpenter/pkg/apis/v1/nodeclaim.go is excluded by !vendor/**, !**/vendor/**
  • vendor/sigs.k8s.io/karpenter/pkg/apis/v1/nodeclaim_status.go is excluded by !vendor/**, !**/vendor/**
  • vendor/sigs.k8s.io/karpenter/pkg/apis/v1/nodepool.go is excluded by !vendor/**, !**/vendor/**
  • vendor/sigs.k8s.io/karpenter/pkg/apis/v1/nodepool_status.go is excluded by !vendor/**, !**/vendor/**
  • vendor/sigs.k8s.io/karpenter/pkg/cloudprovider/types.go is excluded by !vendor/**, !**/vendor/**
  • vendor/sigs.k8s.io/karpenter/pkg/operator/logging/logging.go is excluded by !vendor/**, !**/vendor/**
  • vendor/sigs.k8s.io/karpenter/pkg/scheduling/taints.go is excluded by !vendor/**, !**/vendor/**
  • vendor/sigs.k8s.io/karpenter/pkg/scheduling/volumeusage.go is excluded by !vendor/**, !**/vendor/**
  • vendor/sigs.k8s.io/karpenter/pkg/utils/pretty/pretty.go is excluded by !vendor/**, !**/vendor/**
📒 Files selected for processing (1)
  • go.mod

📝 Walkthrough

Walkthrough

Updated go.mod to upgrade Karpenter from v1.9.0 to v1.13.0, refresh indirect dependencies, and point Karpenter replacement directives to newer OpenShift fork commits.

Suggested reviewers: bryan-cox

🚥 Pre-merge checks | ✅ 11
✅ Passed checks (11 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly matches the main change: bumping Karpenter dependencies to 1.13.0.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Stable And Deterministic Test Names ✅ Passed No test files changed, and the diff contains no Ginkgo-style titles (It/Describe/Context/When).
Test Structure And Quality ✅ Passed No Ginkgo test files or spec blocks changed; the PR only updates vendored Karpenter/dep code and CRDs.
Topology-Aware Scheduling Compatibility ✅ Passed Diff only bumps Karpenter deps/CRDs and adds AWS nodeclass fields/list-type metadata; no required anti-affinity, topologySpreadConstraints, control-plane node selectors, or PDB changes.
Ipv6 And Disconnected Network Test Compatibility ✅ Passed No new Ginkgo e2e test files or It/Describe/Context/When additions were changed; the diff is dependency/CRD/vendor updates only.
No-Weak-Crypto ✅ Passed Reviewed the PR diff; no added lines introduce MD5/SHA1/DES/RC4/3DES/Blowfish/ECB, custom crypto, or secret comparisons.
Container-Privileges ✅ Passed The commit only updates go.mod/vendor and Karpenter CRDs; no privileged, hostPID/Network/IPC, SYS_ADMIN, or allowPrivilegeEscalation settings were added.
No-Sensitive-Data-In-Logs ✅ Passed No new secret/PII logging found; the only log change is a structured CSI volume error, with no passwords, tokens, or hostnames exposed.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Comment @coderabbitai help to get the list of available commands.

@openshift-ci
openshift-ci Bot requested review from csrwng and sdminonne July 29, 2026 17:46
@openshift-ci openshift-ci Bot added area/karpenter-operator Indicates the PR includes changes related to the Karpenter operator and removed do-not-merge/needs-area labels Jul 29, 2026
@maxcao13

Copy link
Copy Markdown
Member Author

/test e2e-aws e2e-aws-autonode

@codecov

codecov Bot commented Jul 29, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 44.70%. Comparing base (deb7a80) to head (e592cb7).
⚠️ Report is 32 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #9170      +/-   ##
==========================================
+ Coverage   44.63%   44.70%   +0.06%     
==========================================
  Files         775      775              
  Lines       97085    97116      +31     
==========================================
+ Hits        43336    43415      +79     
+ Misses      50762    50707      -55     
- Partials     2987     2994       +7     

see 8 files with indirect coverage changes

Flag Coverage Δ
cmd-support 38.38% <ø> (-0.04%) ⬇️
cpo-hostedcontrolplane 47.23% <ø> (ø)
cpo-other 45.30% <ø> (ø)
hypershift-operator 54.63% <ø> (+0.04%) ⬆️
other 33.89% <ø> (+0.58%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@joelsmith

Copy link
Copy Markdown

/pipeline required

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

Scheduling tests matching the pipeline_run_if_changed or not excluded by pipeline_skip_if_only_changed parameters:
/test e2e-aks
/test e2e-aws
/test e2e-aws-upgrade-hypershift-operator
/test e2e-azure-v2-self-managed
/test e2e-kubevirt-aws-ovn-reduced
/test e2e-v2-aws
/test e2e-v2-gke
/test unit
/test verify

@cwbotbot

cwbotbot commented Jul 30, 2026 •

Copy link
Copy Markdown

Test Results

e2e-aws

e2e-aks

@bryan-cox bryan-cox left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

/approve

@openshift-ci openshift-ci Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jul 30, 2026
@maxcao13

Copy link
Copy Markdown
Member Author

/retest-required

@joelsmith joelsmith left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

/lgtm

Thanks @maxcao13 & @alaxkar

@openshift-ci openshift-ci Bot added the lgtm Indicates that a PR is ready to be merged. label Jul 30, 2026
@openshift-merge-bot

Copy link
Copy Markdown
Contributor

Tests from second stage were triggered manually. Pipeline can be controlled only manually, until HEAD changes. Use command to trigger second stage.

@openshift-ci

openshift-ci Bot commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: bryan-cox, joelsmith, maxcao13

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@maxcao13

Copy link
Copy Markdown
Member Author

/test e2e-v2-gke

@maxcao13

Copy link
Copy Markdown
Member Author

/test e2e-aws

@joelsmith

Copy link
Copy Markdown

/retest-required

@maxcao13

Copy link
Copy Markdown
Member Author

/test e2e-aks

@maxcao13

Copy link
Copy Markdown
Member Author

/verified by e2es

@openshift-ci-robot openshift-ci-robot added the verified Signifies that the PR passed pre-merge verification criteria label Jul 31, 2026
@openshift-ci-robot

Copy link
Copy Markdown

@maxcao13: This PR has been marked as verified by e2es.

Details

In response to this:

/verified by e2es

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@openshift-ci

openshift-ci Bot commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

@maxcao13: all tests passed!

Full PR test history. Your PR dashboard.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@openshift-merge-bot
openshift-merge-bot Bot merged commit 6160c9d into openshift:main Jul 31, 2026
42 checks passed
@maxcao13
maxcao13 deleted the karpenter-release-chores-5.0 branch July 31, 2026 17:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. area/karpenter-operator Indicates the PR includes changes related to the Karpenter operator jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. lgtm Indicates that a PR is ready to be merged. verified Signifies that the PR passed pre-merge verification criteria

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants