Skip to content
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

Merged

Conversation

jaronoff97
Copy link
Contributor

Description:
Patch for the recent fix in #3333

Link to tracking Issue(s):

  • Resolves: n/a

Testing:
Unit tests added, manually tested locally.

Documentation:

@jaronoff97 jaronoff97 added the Skip Changelog PRs that do not require a CHANGELOG.md entry label Oct 8, 2024
@jaronoff97 jaronoff97 requested a review from a team as a code owner October 8, 2024 15:08
@jaronoff97 jaronoff97 requested a review from frzifus October 8, 2024 15:31
@@ -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 {
Copy link
Member

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"),
)
Copy link
Member

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? 😄

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes :)

@jaronoff97 jaronoff97 merged commit 7ee69c5 into open-telemetry:main Oct 8, 2024
33 checks passed
@jaronoff97 jaronoff97 deleted the fix-operator-endpoint-add branch October 8, 2024 18:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Skip Changelog PRs that do not require a CHANGELOG.md entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants