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

Template pod affinity settings from the correct value #181

Merged
merged 1 commit into from
Jul 30, 2021

Conversation

KingJ
Copy link
Contributor

@KingJ KingJ commented Jul 29, 2021

Pod affinity settings were erroneously reading from the tolerations value rather than the affinity value for both the collector and cluster receiver deployments. As a result, setting the affinity value would result in an affinity key being templated but with the contents of the tolerations value.

This fix ensures the correct value is read, and also adds a leading dash to the template function to prevent an erroneous newline from being added.

Pod affinity settings were errornously reading from the tolerations value rather than the affinity value for both the collector and cluster receiver deployments. As a result, setting the affinity value would result in an affinity key being templated but with the contents of the tolerations value.

This fix ensures the correct value is read, and also adds a leading dash to the template function to prevent an errornous newline from being added.
@KingJ KingJ requested review from a team as code owners July 29, 2021 14:13
@dmitryax
Copy link
Contributor

@KingJ thank you for fixing this!

@dmitryax dmitryax merged commit af2d076 into signalfx:main Jul 30, 2021
@KingJ KingJ deleted the affinity-fix branch July 30, 2021 09:45
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.

4 participants