fix(bundler): disable kataSandboxDevicePlugin in gpu-operator values#1343
Conversation
Chart default (enabled) renders .spec.kataSandboxDevicePlugin into ClusterPolicy. The v26.3.1 CRD schema does not declare that field, so ArgoCD's structured-merge diff fails permanently (ComparisonError / Unknown health). No AICR recipe uses kata containers. Mirrors the ccManager.enabled: false precedent in the same file. Fixes #1340
Recipe evidence checkNo leaf overlays affected by this PR. This gate is warning-only and never blocks merge. |
|
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 (1)
📝 WalkthroughWalkthroughThis PR adds a Helm values override to the gpu-operator component configuration, setting Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes 🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
Coverage Report ✅
Coverage BadgeNo Go source files changed in this PR. |
Summary
Disable
kataSandboxDevicePluginin the base gpu-operator Helm values so the field is never rendered into ClusterPolicy.Motivation / Context
The gpu-operator chart defaults
kataSandboxDevicePlugin.enabled: true, which renders.spec.kataSandboxDevicePlugininto the ClusterPolicy CR. The v26.3.1 CRD schema does not declare that field, causing ArgoCD's structured-merge diff to fail permanently (ComparisonError/Unknownhealth) on clusters using that chart version. No AICR recipe uses kata containers, so the field is unused.Fixes: #1340
Related: N/A
Type of Change
Component(s) Affected
pkg/recipe)Implementation Notes
Single-line disable in
recipes/components/gpu-operator/values.yaml, mirroring the existingccManager.enabled: falseprecedent directly above it. Becauserecipes/overlays/base.yamlpins every recipe's gpu-operator to this values file as its base, the fix covers all services/accelerators/intents without per-overlay duplication.BOM regeneration (
make bom-docs) confirmed no image change — disabling this feature does not remove a container image from the Helm chart's rendered output.Testing
go test -race ./recipes/... ./pkg/recipe/... yamllint recipes/components/gpu-operator/values.yamlAll relevant tests pass.
Risk Assessment
Rollout notes: N/A — disabling an unused feature flag. Existing deployed ClusterPolicies are unaffected; only newly generated bundles will omit the field.
Checklist
make testwith-race)make lint)git commit -S)