Repository navigation
chore(cilium): drop externalIPs.enabled and nodePort.enabled - #4953
Nimesh (GitNimay) wants to merge 2 commits into
Conversation
|
Important Review skippedReview was skipped as selected files did not have any reviewable changes.
|
| Layer / File(s) | Summary |
|---|---|
Remove unused switches packages/system/cilium/values.yaml |
Removes the externalIPs.enabled and nodePort.enabled settings. The load balancer configuration remains. |
Estimated code review effort: 1 (Trivial) | ~3 minutes
Change: Other · Severity of issue fixed: Low
Merge Risk: 
Minimal · previous review 980de
-
This cleanup removes two unused Cilium values that could be mistaken for feature toggles. No runtime behavior change is expected, so merging carries minimal risk.
Pre-merge checks: 
4
-
Full details: Linked Issues check
-
Explanation
Issue
#4816requires removal ofcilium.externalIPs.enabledandcilium.nodePort.enabledfrompackages/system/cilium/values.yaml. The whole-PR diff removes both declarations and no other value declarations. The PR reports unchanged rendered output for the default values and four listed variants, plus passing package tests. This supports the required no-runtime-change behavior.
Full details: Out of Scope Changes check
-
Explanation
The diff contains only the four lines that define the two unused values in
packages/system/cilium/values.yaml. The remainingloadBalancerconfiguration is unchanged. The change directly implements issue#4816and shows no unrelated change.
-
Finishing Touches
-
🧪 Generate unit tests (beta)
-
- Create a new PR
-
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
ℹ️ Recent review info
-
⚙️ Run configuration
-
- Configuration used: Repository: cozystack/cozystack/.coderabbit.yaml
- Review profile: CHILL
- Plan: Advanced
- Run ID:
22b29244-49af-4784-8c32-4b4a7ff83536
📒 Files selected for processing: 1
-
packages/system/cilium/values.yaml
💤 Files with no reviewable changes: 1
-
- packages/system/cilium/values.yaml
Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 7 remain after this review.
ℹ️ Recent review info
-
⚙️ Run configuration
-
- Configuration used: Repository: cozystack/cozystack/.coderabbit.yaml
- Review profile: CHILL
- Plan: Advanced
- Run ID:
22b29244-49af-4784-8c32-4b4a7ff83536
📒 Files selected for processing: 1
-
packages/system/cilium/values.yaml
💤 Files with no reviewable changes: 1
-
- packages/system/cilium/values.yaml
Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 7 remain after this review.
-
|
Nimesh (@GitNimay) I merged main into your branch (990f37c) so CI runs against the current base. Your commits are unchanged. |
Aleksei Sviridkin (lexfrei)
left a comment
There was a problem hiding this comment.
Nimesh (@GitNimay) LGTM, CI and E2E are green on this head. Optional: the commit message lists the nodePort keys the chart still reads but leaves out range, directRoutingDevice and enableDynamicSourceLookup; complete the list or drop it if you rewrite the commit.
The vendored Cilium chart reads neither key: there is no externalIPs value upstream, and from the nodePort block the templates read only range, addresses, bindProtection, autoProtectPortRange, directRoutingDevice, enableHealthCheck, enableHealthCheckLoadBalancerIP and enableDynamicSourceLookup. Both features follow kubeProxyReplacement, which stays true, so the keys only misled readers into thinking they toggle anything. Fixes cozystack#4816 Assisted-by: LLM Signed-off-by: Nimesh Kulkarni <[email protected]>
990f37c to
700600e
Compare
|
Thanks for the review! I rewrote the commit. Its message now lists every |
Assisted-by: LLM Signed-off-by: Aleksei Sviridkin <[email protected]>
What this PR does
Removes
cilium.externalIPs.enabledandcilium.nodePort.enabledfrompackages/system/cilium/values.yaml. The vendored Cilium chart (1.20.2) reads neither key: there is noexternalIPsvalue upstream, and fromnodePortthe templates read onlyrange,addresses,bindProtection,autoProtectPortRange,directRoutingDevice,enableHealthCheck,enableHealthCheckLoadBalancerIPandenableDynamicSourceLookup. Both features followkubeProxyReplacement, which staystrue, so the keys only misled readers into thinking they toggle anything.Verified locally:
make testinpackages/system/cilium: 4 suites, 26 tests pass.helm templateoutput is byte-identical before and after for the default values and for each ofvalues-talos.yaml,values-kubeovn.yaml,values-kilo.yamlandvalues-apparmor.yaml.Fixes #4816
Screenshots
Not a UI change.
Downstream repositories
Release note
Summary by CodeRabbit