-
Notifications
You must be signed in to change notification settings - Fork 4
Update Heimdall Trusted Proxies to all Private IPs #72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Adds all private IP ranges to Heimdall's list of 'trusted_proxies'. This ensures heimdall works even with variations in network toplogies of local kubernetes deployments. Signed-off-by: Trevor Bramwell <[email protected]>
WalkthroughThe Helm chart for the LFX Platform is updated with a version bump from 0.3.2 to 0.3.3, and the trusted proxies configuration is expanded to include three private IP address ranges instead of one. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Possibly related PRs
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR updates Heimdall's trusted proxy configuration to include all RFC 1918 private IP address ranges, ensuring compatibility with various local Kubernetes network topologies. The chart version is bumped accordingly.
Key Changes:
- Expands trusted_proxies to include all private IP ranges (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16)
- Increments chart version from 0.3.2 to 0.3.3
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| charts/lfx-platform/values.yaml | Adds 10.0.0.0/8 and 172.16.0.0/12 private IP ranges to trusted_proxies configuration |
| charts/lfx-platform/Chart.yaml | Bumps chart version to 0.3.3 |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
🧹 Nitpick comments (1)
charts/lfx-platform/values.yaml (1)
170-174: Consider adding a documentation comment for future maintainability.Since this configuration is foundational to Heimdall's proxy trust model and spans all private ranges, a brief inline comment explaining the RFC 1918 rationale could help future maintainers understand the design intent.
Apply this diff to add clarifying documentation:
serve: trusted_proxies: + # RFC 1918 private address ranges for local Kubernetes deployments + # Enables Heimdall to correctly identify client IPs across varying network topologies - "10.0.0.0/8" - "172.16.0.0/12" - "192.168.0.0/16"
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
Disabled knowledge base sources:
- Jira integration is disabled by default for public repositories
You can enable these sources in your CodeRabbit configuration.
📒 Files selected for processing (2)
charts/lfx-platform/Chart.yaml(1 hunks)charts/lfx-platform/values.yaml(1 hunks)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
- GitHub Check: MegaLinter
🔇 Additional comments (2)
charts/lfx-platform/Chart.yaml (1)
8-8: Version bump is appropriate for configuration changes.The patch version increment (0.3.2 → 0.3.3) is well-suited for the non-breaking values.yaml updates, following Helm versioning conventions.
charts/lfx-platform/values.yaml (1)
170-174: Correct and complete private IP range configuration.The trusted proxies configuration now correctly covers all RFC 1918 private address ranges, enabling Heimdall to work reliably across varied local Kubernetes network topologies (ClusterIP subnets, node networks, etc.). All three ranges are properly formatted and quoted.
Adds all private IP ranges to Heimdall's list of 'trusted_proxies'. This
ensures heimdall works even with variations in network toplogies of
local kubernetes deployments.
Signed-off-by: Trevor Bramwell [email protected]