feat(target-allocator): add extraEnvs support#2099
Open
ilia-medvedev wants to merge 1 commit intoopen-telemetry:mainfrom
Open
feat(target-allocator): add extraEnvs support#2099ilia-medvedev wants to merge 1 commit intoopen-telemetry:mainfrom
ilia-medvedev wants to merge 1 commit intoopen-telemetry:mainfrom
Conversation
Add extraEnvs field to targetAllocator in values.yaml and render it in the deployment template after the existing OTELCOL_NAMESPACE env var. Follows the same pattern used in the opentelemetry-collector chart. This allows users to set arbitrary environment variables such as GOMEMLIMIT, custom debugging flags, or application-specific configuration without needing to modify chart templates directly. Bump chart version to 0.126.11 per contribution guidelines. Relates to: open-telemetry#2098 Signed-off-by: ilia-medvedev <ilia.medvedev@gong.io>
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds
extraEnvssupport to the target-allocator Helm chart, allowing users to set arbitrary environment variables in the target allocator container. This follows the same pattern already established in theopentelemetry-collectorchart.Changes
targetAllocator.extraEnvs: []field tovalues.yamlwith examplesextraEnvsafter built-inOTELCOL_NAMESPACEenv varextraEnvstovalues.schema.jsonfor validationUse Case
Users can now set environment variables like
GOMEMLIMITfor memory management:Or inject from secrets:
Testing
Related
Closes #2098