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

[otel-integration] add otel-integration version header #376

Merged
merged 1 commit into from
Mar 1, 2024

Conversation

povilasv
Copy link
Contributor

@povilasv povilasv commented Mar 1, 2024

Description

Adding a new global field that will have otel-integration version and then passes it via header. We will need to maintain Chart.yaml with this global value.

In helm it looks like it is not possible to pass the parent chart version. {{Chart.Version}} always renders subchart version. I tried to hack around it with tpl and other ways but didnt find a solution.

Also added a CI job to verify that this value matches the Chart.yaml. Example CI failure -> https://github.com/coralogix/telemetry-shippers/actions/runs/8108799144/job/22162697146?pr=376

Fixes ES-212

How Has This Been Tested?

  • kind cluster

Checklist:

  • I have updated the relevant Helm chart(s) version(s)
  • I have updated the relevant component changelog(s)
  • This change does not affect any particular component (e.g. it's CI or docs change)

@povilasv povilasv force-pushed the otel-integration-version branch 2 times, most recently from fe6b8a6 to 6fe845c Compare March 1, 2024 08:48
@povilasv povilasv force-pushed the otel-integration-version branch from 6fe845c to 4fced6f Compare March 1, 2024 08:50
@povilasv povilasv marked this pull request as ready for review March 1, 2024 08:55
Copy link
Contributor

@matej-g matej-g left a comment

Choose a reason for hiding this comment

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

Nicely done with the workaround 👍

@povilasv povilasv merged commit 0f194ab into master Mar 1, 2024
5 of 6 checks passed
@povilasv povilasv deleted the otel-integration-version branch March 1, 2024 09:14
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.

2 participants