fix(nvca): inject transport trust into Helm LLM workers - #900
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (6)
Included review availability: Your plan includes up to 12 reviews per rolling hour; 11 remain after this review. 📝 WalkthroughWalkthroughThe change applies transport TLS preparation to Helm LLM utility pods and propagates LLM worker resource requirements to the TLS installer init container. Integration tests verify TLS resources, mounts, environment variables, and trust-bundle data. ChangesHelm LLM transport TLS
Estimated code review effort: 3 (Moderate) | ~20 minutes Merge Risk: ⚪ Minimal · up to The change injects transport trust into Helm LLM utility pods and preserves installer resource validation; no actionable merge-blocking risk remains beyond normal checks and review. Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches 💡 1🛠️ Fix failing CI checks 💡
📝 Generate docstrings
🧪 Generate unit tests (beta)
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 golangci-lint (2.12.2)level=error msg="Running error: context loading failed: failed to load packages: failed to load packages: failed to load with go/packages: err: exit status 1: stderr: go: inconsistent vendoring in /src/compute-plane-services/nvca:\n\tgithub.com/NVIDIA/KAI-scheduler@v0.12.6: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt\n\tgithub.com/NVIDIA/k8s-dra-driver-gpu@v0.0.0-20251017125642-cfe35ffd3d2c: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt\n\tgithub.com/NVIDIA/nvcf/src/libraries/go/lib@v0.0.0-20260722095202-f5e2792f5630: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt\n\tgithub.com/aws/aws-sdk-go@v1.55.5: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt\n\tgithub.com/bombsimon/logrusr/v4@v4.1.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt\n\tgithub.com/evanphx/json-patch/v5@v5.9.11: is explicitly required in ... [truncated 21721 characters] ... i: is replaced in go.mod, but not marked as replaced in vendor/modules.txt\n\tk8s.io/apiextensions-apiserver: is replaced in go.mod, but not marked as replaced in vendor/modules.txt\n\tk8s.io/apimachinery: is replaced in go.mod, but not marked as replaced in vendor/modules.txt\n\tk8s.io/client-go: is replaced in go.mod, but not marked as replaced in vendor/modules.txt\n\tk8s.io/component-base: is replaced in go.mod, but not marked as replaced in vendor/modules.txt\n\tsigs.k8s.io/controller-runtime: is replaced in go.mod, but not marked as replaced in vendor/modules.txt\n\tgolang.org/x/crypto: is replaced in go.mod, but not marked as replaced in vendor/modules.txt\n\n\tTo ignore the vendor directory, use -mod=readonly or -mod=mod.\n\tTo sync the vendor directory, run:\n\t\tgo mod vendor\n" Comment |
Route the translator-created Helm utility pod through the existing transport TLS preparation path. Copy the LLM worker resource requirements onto the trust installer so enforced resource validation continues to pass. Fixes #606 Signed-off-by: Mike Camp <mcamp@nvidia.com>
Add a distinct Helm LLM transport trust controller case while keeping the existing default-function scenario intact.
4d6cf15 to
2da252b
Compare
TL;DR
Inject configured transport trust into the utility pod generated for Helm-based LLM functions so the LLM worker can use the merged certificate bundle.
Additional Details
Helm LLM translation places the
llm-workercontainer in a utility pod that reconciliation separates from the normal workload object collection. Transport trust mutation previously ran only on that workload collection, so the utility pod was appended without the trust ConfigMap volume, merged-certificate volume, installer init container, certificate mount, orSTARGATE_TLS_CERT_PATH.This change:
llm-workerfilter.Dependencies: none. License and NOTICE impact: none.
For the Reviewer
Please focus on the utility-pod inclusion in
internal/miniservice/reconcile.goand resource inheritance ininternal/transporttls/transport_tls.go.For QA
Verified with:
Additional QA is not required.
Issues
Fixes #606
Relates to #19
Checklist
Summary by CodeRabbit
Enhancements
Tests