AUTOSCALE-873: fix: apply OpenShift Karpenter CRD adjustments #33
All Vouch review confidence checks passed
Residual risk 0.16 = Change Risk (0.39) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.39 · 270 lines diff across 3 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
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.335
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #33"
general
weight: 0.35
maxcao13
Standalone Karpenter now owns EC2NodeClass CRD installation, so it must apply the same OpenShift schema relaxations as HyperShift.
I and my good friend pi went ahead and removed the following rules:
[]anymore, it seems we set all fields as shown below<details>
<summary>Evidence for keeping required</summary>
</details>
We also fixed the amiSelectorTerms patch so that the matrix now looks like this:
| Selector term | Previous | Fixed | Result |
|---|---:|---:|---|
|
{}| Accepted | Rejected | Fixed invalid input ||
{id: "ami-..."}| Accepted | Accepted | Valid input remains accepted ||
{ssmParameter: "..."}| Accepted | Rejected | Fixed invalid input ||
{id: "...", ssmParameter: "..."}| Accepted | Rejected | Fixed invalid input |Origin of the script: https://github.com/openshift/hypershift/blob/main/karpenter-operator/hack/adjust-cel.sh
Changes: