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] Make it possible to mount configMap by chart name #1105

Merged

Conversation

chunter0
Copy link
Contributor

This change adds configMap.mount field which can be used to control mounting the configMap by chart name. This new field is helpful when using opentelemetry-collector as a subchart it will allow users the ability to create their own configuration and still have the configMap mounted under the default schema.

@chunter0 chunter0 requested a review from a team March 28, 2024 15:30
Copy link

linux-foundation-easycla bot commented Mar 28, 2024

CLA Signed

The committers listed above are authorized under a signed CLA.

@TylerHelmuth
Copy link
Member

@chunter0 it isn't clear to me how this field is different than create. Can you open an issue to discuss the problem this PR solves?

@chunter0
Copy link
Contributor Author

chunter0 commented Apr 7, 2024

Opened an issue here for discussion

@TylerHelmuth
Copy link
Member

@open-telemetry/helm-approvers please review

@chunter0 chunter0 force-pushed the chunter/configmap-mount-option branch from 57b7eb8 to 852e551 Compare April 16, 2024 15:53
@jaronoff97
Copy link
Contributor

I commented on the issue

Copy link
Contributor

@jaronoff97 jaronoff97 left a comment

Choose a reason for hiding this comment

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

one question

Copy link
Contributor

@jaronoff97 jaronoff97 left a comment

Choose a reason for hiding this comment

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

looks great :D thank you!

@TylerHelmuth TylerHelmuth merged commit 45400c8 into open-telemetry:main Apr 25, 2024
3 checks passed
12ushan pushed a commit to giffgaff/opentelemetry-helm-charts that referenced this pull request Jul 22, 2024
…elemetry#1105)

* update with configMap field with mount option

* update comment

* update schema

* change name to `includeMount`

* bump version

* re-generate examples

* use existingName field instead

* Merge remote-tracking branch 'upstream/main' into chunter/configmap-mount-option

* update comment and move logic to template

* Apply suggestions from code review

Co-authored-by: Tyler Helmuth <[email protected]>

* safe-guard configMap creation

* add configMap error message

---------

Co-authored-by: Tyler Helmuth <[email protected]>
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.

5 participants