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

Fix default memory_limiter configuration for helm version 3.5.x #39

Merged
merged 1 commit into from
Mar 22, 2021

Conversation

dmitryax
Copy link
Member

@dmitryax dmitryax commented Mar 22, 2021

Starting from helm 3.5.0, merging rules were changed: now if null value merged into a dict, null value is preserved.

In order to make it cleaner and working across all helm versions, this commit replaces the merge operation with a conditional set.

If user wants to override the default memory_limiter configuration, they should override all the fields. That behavior seems more practical than partial override for the this processor.

Resolves #34

@dmitryax dmitryax requested review from a team March 22, 2021 17:20
@dmitryax
Copy link
Member Author

@naseemkullah PTAL

Starting from helm 3.5.0, merging rules were changed: now if null value merged into a dict, null value is preserved.

In order to make it cleaner and working on all the versions, this commit replaces the merge operation with a conditional set.

If user wants to override the default memory_limiter configuration, they should override all the fields. That behavior seems more practical than partial override for the this processor.
@dmitryax dmitryax force-pushed the fix-chart-for-helm-3.5.x branch from d508fe2 to 7d0f515 Compare March 22, 2021 17:21
@dmitryax dmitryax merged commit 128aa34 into open-telemetry:main Mar 22, 2021
@dmitryax dmitryax deleted the fix-chart-for-helm-3.5.x branch April 8, 2021 00:00
matej-g pushed a commit to matej-g/opentelemetry-helm-charts that referenced this pull request Oct 30, 2023
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.

Error creating processor "memory_limiter" on clean install
2 participants