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

[collector] move app.kubernetes.io/component to be only labels not selectors #1432

Merged

Conversation

TylerHelmuth
Copy link
Member

Comment on lines +35 to +37
serviceAccount:
create: false
name: "example-opentelemetry-collector"
Copy link
Contributor

Choose a reason for hiding this comment

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

Why is this change needed?

Copy link
Member Author

@TylerHelmuth TylerHelmuth Nov 26, 2024

Choose a reason for hiding this comment

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

The example suffers from the fact that we can only have 1 serviceAccount.yaml file saved in the dir. This was causing a race condition between whether the daemonset or deployment got to render it. This wasn't a problem before bc the component label wasnt there to differentiate but now it is.

In reality a user when doing 2 installs would get 2 different service accounts based on the install names. But this example saves the objects as files and we cant control the file name output.

@TylerHelmuth TylerHelmuth merged commit 330fe11 into open-telemetry:main Nov 26, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants