[#2060] fix: rename forge.local to nico.local#2548
Conversation
|
Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually. Contributors can view more details about this message here. |
|
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 (5)
✅ Files skipped from review due to trivial changes (1)
🚧 Files skipped from review as they are similar to previous changes (4)
Summary by CodeRabbit
WalkthroughThe default SPIFFE trust domain is systematically renamed from ChangesDefault SPIFFE Trust Domain Rename
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
3e6d4b5 to
74832bd
Compare
47ffd80 to
70e0be8
Compare
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@crates/bmc-proxy/src/config.rs`:
- Around line 71-74: The trust_config() function now returns "nico.local" as the
spiffe_trust_domain default at line 73, but the test expectations in the table
assertion for the parses_config_shapes test are still checking for
"forge.local". Update the table expectations in the parses_config_shapes test to
assert "nico.local" instead of "forge.local" to match the new default trust
domain returned by trust_config().
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Enterprise
Run ID: 0be644a3-2d0e-4a33-8b9d-d61bdfd9621b
📒 Files selected for processing (5)
crates/bmc-proxy/src/config.rscrates/secrets/src/forge_vault.rsdev/mac-local-dev/carbide-api-config.tomldev/mac-local-dev/run-carbide-api.shhelm/examples/carbide-legacy.yaml
1f75162 to
555cf20
Compare
555cf20 to
a401ca1
Compare
🔍 Container Scan Summary
Per-CVE detail lives in the per-service |
Description
This fix aligns SPIFFE trust domain defaults with Helm’s existing
nico.localconvention.Helm already sets
global.spiffe.trustDomain: nico.localand renders it into[auth.trust]via ConfigMap. Rust code still defaulted toforge.localwhen no config/env override was present, which could produce Vault machine PKI URI SANs under the wrong trust domain on non-Helm or misconfigured paths.This PR changes only the trust domain default
Type of Change
Related Issues (Optional)
#2060
Breaking Changes
Migration / rollout
Legacy sites with existing
forge.localmachine/service certs must keep an explicit override before upgrading:Or layer
helm/examples/carbide-legacy.yaml.Testing