Skip to content

Include netdata-otel in restarter targets - #525

Merged
mtblz merged 1 commit into
masterfrom
fix/restarter-for-otel
Apr 2, 2026
Merged

Include netdata-otel in restarter targets#525
mtblz merged 1 commit into
masterfrom
fix/restarter-for-otel

Conversation

@mtblz

@mtblz mtblz commented Apr 2, 2026

Copy link
Copy Markdown
Contributor

I forgot to include netdata-otel in the restarter policy, this is a simple fix for it.

@mtblz
mtblz requested review from a team and ilyam8 as code owners April 2, 2026 07:18
@mtblz
mtblz requested a review from witalisoft April 2, 2026 07:18
@ilyam8
ilyam8 requested a review from Copilot April 2, 2026 07:21

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the Netdata Helm chart’s restarter policy so it also targets the netdata-otel Deployment when OpenTelemetry is enabled.

Changes:

  • Add {{ template "netdata.name" . }}-otel to the restarter Role’s allowed resourceNames.
  • Include deployment/<name>-otel in the restarter CronJob’s rollout-restart target list when .Values.netdataOpentelemetry.enabled is true.
  • Extend netdata.restarter.enabled to consider .Values.netdataOpentelemetry.enabled as a qualifying workload.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
charts/netdata/templates/restarter/role.yml Allows the restarter to patch/get the *-otel Deployment.
charts/netdata/templates/restarter/cronjob.yaml Adds deployment/*-otel to the rollout restart arguments when OTel is enabled.
charts/netdata/templates/_helpers.tpl Ensures the restarter can be enabled when only netdataOpentelemetry is enabled.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@mtblz
mtblz merged commit 4bf29f4 into master Apr 2, 2026
6 checks passed
@mtblz
mtblz deleted the fix/restarter-for-otel branch April 2, 2026 11:16
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.

3 participants