Repository navigation
fix(recipes): restore pullable kai-scheduler chart - #1958
yuanchen8911 wants to merge 1 commit into
Conversation
Signed-off-by: Yuan Chen <[email protected]>
Recipe evidence check
Protected recipesRecipes with committed evidence (
Other affected recipes without evidence yet: 64These recipes are affected by this PR but carry no committed evidence pointer, so there is
How to refresh evidenceRun on a cluster matching the recipe's aicr snapshot -o snapshot.yaml
aicr validate \
-r recipes/overlays/<slug>.yaml \
-s snapshot.yaml \
--emit-attestation ./out \
--push ghcr.io/<your-fork>/aicr-evidence
# Copy to the per-source path printed in the emit 'copyTo' hint:
# recipes/evidence/<slug>/<source>/<bundle-digest>.yamlThis gate is warning-only and never blocks merge. See ADR-007 for the trust model. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Enterprise Run ID: 📒 Files selected for processing (12)
📝 WalkthroughWalkthroughKai Scheduler OCI references were changed from the Estimated code review effort: 2 (Simple) | ~10 minutes Suggested reviewers: 🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
Summary
Restore KAI Scheduler's embedded Helm coordinates to the public
oci://ghcr.io/nvidia/kai-schedulerrepository at v0.13.0. Update the generated recipe example, container-image BOM, and KAI-specific bundle references to use the same pullable chart.Motivation / Context
The v0.14.1 chart coordinates point at an unpublished GHCR package. Because KAI Scheduler is inherited by every base recipe, consumers that fetch charts from resolved
ComponentRefdata cannot deploy any generated recipe.v0.13.0 is the newest chart published at the public NVIDIA repository and accepts AICR's existing KAI values. This change updates both the registry default and the explicit base-overlay source because the overlay value takes precedence during recipe resolution.
Fixes: #1954
Related: N/A
Type of Change
Component(s) Affected
cmd/aicr,pkg/cli)cmd/aicrd,pkg/server)pkg/recipe)pkg/bundler,pkg/component/*)pkg/collector,pkg/snapshotter)pkg/validator)pkg/errors,pkg/k8s)docs/,examples/)Implementation Notes
Testing
make bom-docs helm template kai-scheduler oci://ghcr.io/nvidia/kai-scheduler/kai-scheduler \ --version v0.13.0 \ --namespace kai-scheduler \ --values recipes/components/kai-scheduler/values.yaml go test -race ./pkg/bundler/deployer/helm/... \ ./pkg/bundler/deployer/helmfile/... \ ./pkg/bundler/deployer/argocd/... \ ./pkg/mirror/... golangci-lint run -c .golangci.yaml \ ./pkg/bundler/deployer/argocd/... \ ./pkg/bundler/deployer/helm/... \ ./pkg/bundler/deployer/helmfile/... \ ./pkg/mirror/... make test-coverage make qualifyAll checks pass.
make qualifycompleted the race suite, full lint, 23 no-cluster Chainsaw tests, vulnerability scan, and license checks. Its Helmfile E2E test pulledghcr.io/nvidia/kai-scheduler/kai-scheduler:v0.13.0successfully.Affected-package coverage is unchanged from
origin/main:pkg/bundler/deployer/argocd: 84.0% → 84.0%pkg/bundler/deployer/helm: 84.2% → 84.2%pkg/bundler/deployer/helmfile: 87.2% → 87.2%pkg/mirror: 71.4% → 71.4%Project-wide coverage is 80.8% against the 80% threshold.
Risk Assessment
The corrected pin is inherited by every recipe, but it restores the last publicly available chart and retains the existing AICR values. The replacement chart was fetched and rendered directly, and all generated deployment formats passed E2E validation.
Rollout notes: Regenerate recipes and bundles created with affected AICR releases; existing point-in-time artifacts retain their original, invalid
ComponentRefcoordinates.Checklist
make testwith-race)make lint)git commit -S) — GPG signing info