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

feat(opentelemetry-operator): Adding extraEnv #1458

Open
wants to merge 11 commits into
base: main
Choose a base branch
from

Conversation

jtyr
Copy link

@jtyr jtyr commented Dec 9, 2024

This PR is adding the possibility to specify extra environment variable definitions that are not simple name/value pairs, for example when valueFrom should be used.

Signed-off-by: Jiri Tyr <jiri.tyr@gmail.com>
@jtyr jtyr requested review from Allex1 and a team as code owners December 9, 2024 21:31
@dmitryax
Copy link
Member

We use extraEnvs in the other helm charts here. Let's keep it consistent. Also, I think we should deprecate env now

Signed-off-by: Jiri Tyr <jiri.tyr@gmail.com>
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.

Agreed, we should probably deprecate env, can you update the comment for env and recommend moving to extraEnvs?

@@ -1,6 +1,6 @@
apiVersion: v2
name: opentelemetry-operator
version: 0.75.0
version: 0.76.0
Copy link
Contributor

Choose a reason for hiding this comment

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

please bump the patch version, not the minor version. Once you've done that, please run make generate-examples CHARTS=opentelemetry-operator

Copy link
Contributor

Choose a reason for hiding this comment

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

@jtyr it looks like there's no patch version bump anymore, can you do that and re-run the make generate when you can please?

@jtyr
Copy link
Author

jtyr commented Dec 22, 2024

@jaronoff97 Please could you review this PR?

@@ -104,6 +104,14 @@ manager:
env:
Copy link
Contributor

Choose a reason for hiding this comment

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

@jtyr Minor request, can you please update the docstring here and recommend that people use extraEnvs instead of env please?

Copy link
Author

Choose a reason for hiding this comment

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

I have added a short deprecation notice. Please review it.

timofey-drozhzhin and others added 9 commits December 23, 2024 20:24
* fix: correct typo in comments for k8sobjects receiver in values.yaml

* fix: correct typo in comments for k8sobjects receiver in opentelemetry-kube-stack values.yaml

* chore: bump version to 0.110.5 in opentelemetry-collector Chart.yaml

* chore: bump version to 0.3.5 in opentelemetry-kube-stack Chart.yaml

* Update examples in opentelemetry-collector-0.110.5

* Update examples in opentelemetry-kube-stack-0.3.5

* opentelemetry-collector: bump version to 0.110.6 and update examples

* opentelemetry-kube-stack: bump version to 0.3.6 and update examples

---------

Co-authored-by: Tyler Helmuth <12352919+TylerHelmuth@users.noreply.github.com>
…metry#1456)

Bumps [kyverno/action-install-chainsaw](https://github.com/kyverno/action-install-chainsaw) from 0.2.11 to 0.2.12.
- [Release notes](https://github.com/kyverno/action-install-chainsaw/releases)
- [Commits](kyverno/action-install-chainsaw@v0.2.11...v0.2.12)

---
updated-dependencies:
- dependency-name: kyverno/action-install-chainsaw
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: Jiri Tyr <jiri.tyr@gmail.com>
Signed-off-by: Pierre Tessier <pierre@pierretessier.com>
open-telemetry#1455)

* [opentelemetry-kube-stack] Add the helper for servicemonitor.scrapeLimits

* naming

* version bump, make gen
…ided (open-telemetry#1461)

* Create app version helper

* Fix description

* Bump version

---------

Co-authored-by: Tyler Helmuth <12352919+TylerHelmuth@users.noreply.github.com>
Signed-off-by: Jiri Tyr <jiri.tyr@gmail.com>
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.

9 participants