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

avoid non static labels in workload objects selector #849

Conversation

DWonMtl
Copy link
Contributor

@DWonMtl DWonMtl commented Apr 29, 2022

Description

  • Add a new SelectorLabels to get the static labels for selectors
  • Make sure Labels uses SelectorLabels
  • Make sure selector labels aren't updated on Deployment, DaemonSet and StatefullSet update to avoid reconciliation errors.

close #840

Signed-off-by: Daniel Gagné <daniel.gagne.2@ens.etsmtl.ca>
@DWonMtl DWonMtl requested a review from a team as a code owner April 29, 2022 19:16
@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Apr 29, 2022

CLA Signed

The committers listed above are authorized under a signed CLA.

@yuriolisa
Copy link
Contributor

LGTM!

@DWonMtl
Copy link
Contributor Author

DWonMtl commented May 3, 2022

@pavolloffay this PR is now ready for review. Thank your in advance!

@DWonMtl
Copy link
Contributor Author

DWonMtl commented May 9, 2022

@jpkrohling, I have been suggested to contact you about this one.

@pavolloffay pavolloffay merged commit 4ffcef4 into open-telemetry:main May 19, 2022
@DWonMtl
Copy link
Contributor Author

DWonMtl commented May 19, 2022

@pavolloffay, Thank you very much!!

@ringerc
Copy link

ringerc commented May 23, 2022

Much appreciated!

ItielOlenick pushed a commit to ItielOlenick/opentelemetry-operator that referenced this pull request May 1, 2024
)

Signed-off-by: Daniel Gagné <daniel.gagne.2@ens.etsmtl.ca>
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.

New "app.kubernetes.io/version" label added to collector deployment selector cause reconciliation error
4 participants