Skip to content

[PROF-15317] allow helm to use logging seccomp - #2775

Merged
gh-worker-dd-mergequeue-cf854d[bot] merged 3 commits into
mainfrom
theomagellan/hp-logging-seccomp
Jul 30, 2026
Merged

[PROF-15317] allow helm to use logging seccomp#2775
gh-worker-dd-mergequeue-cf854d[bot] merged 3 commits into
mainfrom
theomagellan/hp-logging-seccomp

Conversation

@theomagellan

@theomagellan theomagellan commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

What this PR does / why we need it:

Introduces a new boolean setting to let customers enable a seccomp profile that logs denials.

Which issue this PR fixes

(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged)

  • fixes #

Special notes for your reviewer:

Checklist

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

  • All commits are signed and show as "Verified" on GitHub (see: signing commits)
  • Chart Version semver bump label has been added (use <chartName>/minor-version, <chartName>/patch-version, or <chartName>/no-version-bump)
  • For datadog or datadog-operator chart or value changes, update the test baselines (run: make update-test-baselines)
  • For datadog chart changes, received ✅ from a member of your team

GitHub CI takes care of the below, but are still required:

  • Documentation has been updated with helm-docs (run: .github/helm-docs.sh)
  • CHANGELOG.md has been updated
  • Variables are documented in the README.md

@github-actions github-actions Bot added the chart/datadog This issue or pull request is related to the datadog chart label Jul 7, 2026
@theomagellan theomagellan changed the title allow helm to use logging seccomp [PROF-15317] allow helm to use logging seccomp Jul 7, 2026
@datadog-prod-us1-3

datadog-prod-us1-3 Bot commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Pipelines  Tests

⚠️ Warnings

🚦 1 Pipeline job failed

Lint and Test Charts | pr-validated   View in Datadog   GitHub Actions

See error kubeconform-chart installation failed with result: failure.

ℹ️ Info

🔄 Datadog auto-retried 1 job - 1 passed on retry View in Datadog

Useful? React with 👍 / 👎

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

@theomagellan theomagellan added the datadog/minor-version Minor version bump for datadog chart label Jul 15, 2026
@theomagellan
theomagellan force-pushed the theomagellan/hp-logging-seccomp branch from 66017fb to 789ac42 Compare July 15, 2026 12:07
@theomagellan
theomagellan marked this pull request as ready for review July 15, 2026 13:17
@theomagellan
theomagellan requested review from a team as code owners July 15, 2026 13:17
@theomagellan
theomagellan requested review from tedkahwaji and removed request for a team July 15, 2026 13:17

@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: 8d18ea42a9

ℹ️ 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".

# Prefer the logging profile, falling back to the default if the image predates it.
- sh
- -c
- if [ -f /etc/dd-host-profiler/logging-seccomp.json ]; then cp /etc/dd-host-profiler/logging-seccomp.json {{ $dst }}; else cp /etc/dd-host-profiler/seccomp.json {{ $dst }}; fi

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Include the seccomp variant in the copied profile name

When two host-profiler DaemonSets on the same node use the same image but different datadog.hostProfiler.loggingSeccomp settings, this copies different profile contents to the same $dst; host-profiler-seccomp-name only hashes ddot-ebpf-image (charts/datadog/templates/_helpers.tpl:304). The last init container to write the file can change the profile that a concurrently starting pod loads, so a pod can run with the default profile despite requesting the logging profile, or the reverse. The profile filename should include the logging/default variant as well as the image.

Useful? React with 👍 / 👎.

@pr-shepherd-6ad11f

Copy link
Copy Markdown

PR Shepherd is now watching this PR: fixing basic CI failures, rebasing when it falls behind, and re-queueing after transient merge-queue failures. To disable it, add the pr-shepherd:ignore label.

If you have any questions, reach the team in #ai-devx-flow.

@r1viollet r1viollet 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.

LGTM

@theomagellan
theomagellan force-pushed the theomagellan/hp-logging-seccomp branch 2 times, most recently from 82adf5b to 97e9c28 Compare July 29, 2026 14:55
@theomagellan

Copy link
Copy Markdown
Contributor Author

/ddci trigger

@gh-worker-devflow-routing-ef8351

gh-worker-devflow-routing-ef8351 Bot commented Jul 29, 2026

Copy link
Copy Markdown

View all feedbacks in Devflow UI.

2026-07-29 16:51:14 UTC ℹ️ Start processing command /ddci trigger


2026-07-29 16:51:18 UTC ℹ️ Devflow: /ddci trigger

Tasks sourcing running asynchronously in workflow devflow:f64be5c5-df83-4bd1-ad56-60a87efa8157_44:019faec9-9a83-76c2-bb98-2825a9e83280 under run id 019faec9-a34a-7e09-80ee-7cf4ee41f1f4

@theomagellan
theomagellan force-pushed the theomagellan/hp-logging-seccomp branch from 8ce473c to ce97f21 Compare July 30, 2026 13:57
- bump version for datadog to 3.233.0 (minor-version)
- update changelog for datadog with version 3.233.0
- update readme for datadog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chart/datadog This issue or pull request is related to the datadog chart datadog/minor-version Minor version bump for datadog chart mergequeue-status: done pr-shepherd:in_progress

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants