-
Notifications
You must be signed in to change notification settings - Fork 450
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
Fixes bug where we tried to default config for the wrong components #3337
Fixes bug where we tried to default config for the wrong components #3337
Conversation
@@ -44,15 +44,15 @@ func (g *GenericParser[T]) GetDefaultConfig(logger logr.Logger, config interface | |||
return config, nil | |||
} | |||
|
|||
if g.settings.defaultRecAddr == "" { | |||
if g.settings.defaultRecAddr == "" || g.settings.port == 0 { |
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.
👍
featuregate.StageBeta, | ||
featuregate.WithRegisterDescription("enables the operator to default the endpoint for known components"), | ||
featuregate.WithRegisterFromVersion("v0.110.0"), | ||
) |
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.
Since no e2e breaks, I assume its enabled by default? 😄
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.
yes :)
Description:
Patch for the recent fix in #3333
Link to tracking Issue(s):
Testing:
Unit tests added, manually tested locally.
Documentation: