Skip to content

Pass FelixConfiguration into the node and typha render - #5233

Open
caseydavenport wants to merge 1 commit into
tigera:masterfrom
caseydavenport:casey-felixconfig-render
Open

Pass FelixConfiguration into the node and typha render#5233
caseydavenport wants to merge 1 commit into
tigera:masterfrom
caseydavenport:casey-felixconfig-render

Conversation

@caseydavenport

@caseydavenport caseydavenport commented Aug 20, 2026

Copy link
Copy Markdown
Member

Description

The installation controller was reading Felix's health port and the cgroup v2 path override off FelixConfiguration and copying them into the node and typha render config as scalars. The render takes the FelixConfiguration itself instead, so a render modifier can read anything else it needs from the same object without the controller having to copy another field in.

The health port keeps its 9099 default, which the render falls back to when FelixConfiguration does not set one.

No behavior change. Adds test coverage for the cgroup path, which had none.

Related: CORE-13402

Release Note

None

The installation controller read Felix's health port and the cgroup v2 path off
FelixConfiguration and copied them into the render config as scalars. The render
takes the FelixConfiguration itself instead.
felixHealthPort := 9099
felixHealthPort := render.DefaultFelixHealthPort
if install.Spec.KubernetesProvider.IsOpenShift() {
felixHealthPort = 9199

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Constant for this too?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants