feat: determine cluster ID from cluster name (label) if in LKE mode#42
Merged
AshleyDumaine merged 3 commits intomainfrom Jan 22, 2026
Merged
feat: determine cluster ID from cluster name (label) if in LKE mode#42AshleyDumaine merged 3 commits intomainfrom
AshleyDumaine merged 3 commits intomainfrom
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #42 +/- ##
==========================================
- Coverage 67.37% 66.99% -0.38%
==========================================
Files 37 37
Lines 2296 2306 +10
==========================================
- Hits 1547 1545 -2
- Misses 599 612 +13
+ Partials 150 149 -1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
komer3
approved these changes
Jan 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
At startup when creating the operator, if in LKE mode (default) we automatically determine the cluster ID from the name and fail if there is not one match returned.
Other providers take a cluster name rather than an ID if using managed K8s, so this is to follow the standard convention.
Also adding a GHA change to make sure we build and push images for main so the latest tag exists for
linode/karpenter-provider-linodeso the README steps work without needing to build and push the image first + update the deployment image.