Skip to content

Add jmx container env var when jmx image used#3193

Merged
khewonc merged 4 commits into
mainfrom
khewonc/jmx-env-var-image-tag
Jul 6, 2026
Merged

Add jmx container env var when jmx image used#3193
khewonc merged 4 commits into
mainfrom
khewonc/jmx-env-var-image-tag

Conversation

@khewonc

@khewonc khewonc commented Jun 24, 2026

Copy link
Copy Markdown
Collaborator

What does this PR do?

Add the env var DD_JMX_USE_CONTAINER_SUPPORT when a jmx image is used. When a custom configuration is used for datadog.yaml, the operator overwrites that file with the custom config. Defaults like https://github.com/DataDog/datadog-agent/blob/94a9ac04f94cd42d1b2ec6e8ee1321f5ab7188de/Dockerfiles/agent/datadog-kubernetes.yaml#L8 are overwritten

Motivation

https://datadoghq.atlassian.net/browse/CONTP-1757

Additional Notes

Anything else we should know when reviewing?

Minimum Agent Versions

Are there minimum versions of the Datadog Agent and/or Cluster Agent required?

  • Agent: vX.Y.Z
  • Cluster Agent: vX.Y.Z

Describe your test plan

Write there any instructions and details you may have to test your PR.

Checklist

  • PR has at least one valid label: bug, enhancement, refactoring, documentation, tooling, and/or dependencies
  • PR has a milestone or the qa/skip-qa label
  • All commits are signed (see: signing commits)

@khewonc khewonc added this to the v1.29.0 milestone Jun 24, 2026
@khewonc
khewonc requested a review from a team June 24, 2026 21:20
@khewonc khewonc added the enhancement New feature or request label Jun 24, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 3892317dd5

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread pkg/images/images.go Outdated
Comment thread internal/controller/datadogagent/component/agent/default.go Outdated
@datadog-datadog-prod-us1

datadog-datadog-prod-us1 Bot commented Jun 24, 2026

Copy link
Copy Markdown

Code Coverage

Fix all issues with BitsAI

🛑 Gate Violations

🎯 1 Code Coverage issue detected

A Patch coverage percentage gate may be blocking this PR.

Patch coverage: 54.84% (threshold: 80.00%)

ℹ️ Info

🎯 Code Coverage (details)
Patch Coverage: 54.84%
Overall Coverage: 46.29% (+0.50%)

Useful? React with 👍 / 👎

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: d3b0123 | Docs | Datadog PR Page | Give us feedback!

@khewonc
khewonc force-pushed the khewonc/jmx-env-var-image-tag branch from 3892317 to f41448e Compare June 29, 2026 20:27
@khewonc
khewonc merged commit 96a937e into main Jul 6, 2026
29 of 38 checks passed
@khewonc
khewonc deleted the khewonc/jmx-env-var-image-tag branch July 6, 2026 21:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants