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

Correct otelCollector.config variable type #1530

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

Conversation

0robustus1
Copy link
Contributor

What this PR does / why we need it:

The PR redeclares datadog.otelCollector.config to be a string rather than an object. The code was already expecting this (including the ci setup in #1429), but using a string resulted in these warnings:

coalesce.go:286: warning: cannot overwrite table with non table for datadog.datadog.otelCollector.config (map[])
coalesce.go:286: warning: cannot overwrite table with non table for datadog.datadog.otelCollector.config (map[])

Special notes for your reviewer:

Checklist

[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

  • Chart Version bumped
  • Documentation has been updated with helm-docs (run: .github/helm-docs.sh)
  • CHANGELOG.md has been updated
  • Variables are documented in the README.md
  • For Datadog Operator chart or value changes update the test baselines (run: make update-test-baselines)

This is to avoid these warnings/errors:
coalesce.go:286: warning: cannot overwrite table with non table for datadog.datadog.otelCollector.config (map[])
coalesce.go:286: warning: cannot overwrite table with non table for datadog.datadog.otelCollector.config (map[])
@0robustus1 0robustus1 requested a review from a team as a code owner September 19, 2024 15:26
@0robustus1 0robustus1 changed the title Adjust datadog helmchart for otelcollector Correct otelCollector.config variable type Sep 23, 2024
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.

1 participant