test(llm-request-router): cover single-replica certificate render - #930
Conversation
Signed-off-by: Mike Camp <mcamp@nvidia.com>
|
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 (1)
Included review availability: Your plan includes up to 12 reviews per rolling hour; 10 remain after this review. 📝 WalkthroughWalkthroughThe PKI rendering script now tests a single-replica configuration with DNS discovery disabled and a stable service hostname. It verifies that the hostname appears in both the Certificate SAN and StatefulSet advertised-hostname argument. ChangesPKI render validation
Estimated code review effort: 2 (Simple) | ~10 minutes Merge Risk: ⚪ Minimal · up to This PR adds localized render coverage for the single-replica certificate path without changing production behavior; no actionable merge-blocking risk remains beyond normal checks. Suggested reviewers: 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
|
🎉 This PR is included in version helm-nvcf-llm-request-router-v1.8.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Why
Issue #838 requires explicit render coverage that a single-replica router's advertised hostname is covered by its Certificate DNS SAN. PR #909 added hostname/SAN validation and its multi-replica/default coverage, but did not assert this single-replica certificate path.
What changed
Added one targeted PKI render case for
replicaCount=1. It enables the Certificate, asserts its DNS SAN isllm-request-router.nvcf.svc.cluster.local, and asserts the StatefulSet emits that exact advertised hostname template.Customer Release Notes
Not customer visible.
Plan Summary
Not applicable.
Usage
Not applicable.
Testing
make check-pki-rendermake check-multi-replica-rendermake lintmake validategit diff --checkNo additional QA is needed.
Notes
The underlying hostname/SAN validation was released in llm-request-router chart v1.7.2 by PR #909.
References
Closes #838
Related Pull Requests
Dependencies
None.
Summary by CodeRabbit