Skip to content

[jaeger] Checksum user/ui config to restart all-in-one on change#765

Open
oysteingl wants to merge 1 commit into
jaegertracing:mainfrom
oysteingl:jaeger-allinone-checksum-config
Open

[jaeger] Checksum user/ui config to restart all-in-one on change#765
oysteingl wants to merge 1 commit into
jaegertracing:mainfrom
oysteingl:jaeger-allinone-checksum-config

Conversation

@oysteingl

Copy link
Copy Markdown

What this PR does

The all-in-one Deployment (templates/jaeger/jaeger-deploy.yaml) mounts the user-config and ui-config ConfigMaps via subPath, and its pod template carries no checksum annotation. As a result, when .Values.userconfig or .Values.uiconfig changes, Helm/ArgoCD updates the ConfigMaps but the running pod keeps the old config and is never restarted (subPath mounts don't receive in-place updates either).

This adds checksum/user-config and checksum/ui-config annotations to the pod template, so a change to either config rolls the pod and reloads the new config. This mirrors the approach #246 took for the query UI config, now applied to the v2 all-in-one deployment.

Bumps the jaeger chart to 4.11.1 (per the immutability/versioning policy).

Testing

  • helm lint passes.
  • helm template renders both annotations to concrete SHA256 values in the pod template.
  • Verified checksum/user-config changes when userconfig changes (pod will roll); unchanged config yields a stable checksum (no spurious restarts).

Checklist

  • DCO signed
  • Chart Version bumped
  • Title of the PR starts with chart name ([jaeger])

Copilot AI review requested due to automatic review settings June 14, 2026 05:07

Copilot AI 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.

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

This PR ensures Jaeger pods roll out when rendered config templates change, and increments the Helm chart version accordingly.

Changes:

  • Add checksum annotations to the Jaeger Deployment pod template to trigger rolling updates on config changes.
  • Bump chart version from 4.11.0 to 4.11.1.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
charts/jaeger/templates/jaeger/jaeger-deploy.yaml Adds checksum annotations for user/ui config templates to force Deployment rollouts on changes
charts/jaeger/Chart.yaml Increments chart version to reflect the behavior change

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

Comment on lines 38 to 42
annotations:
checksum/user-config: {{ include (print $.Template.BasePath "/jaeger/jaeger-user-config.yaml") . | sha256sum }}
checksum/ui-config: {{ include (print $.Template.BasePath "/jaeger/jaeger-ui-config.yaml") . | sha256sum }}
prometheus.io/port: "8888"
prometheus.io/scrape: "true"
The all-in-one Deployment mounts the user-config and ui-config ConfigMaps
via subPath, and its pod template has no checksum annotation. So when
.Values.userconfig or .Values.uiconfig changes, the ConfigMaps update but
the running pod keeps the old config and is never restarted.

Add checksum/user-config and checksum/ui-config annotations to the pod
template (same approach jaegertracing#246 used for the query UI config) so the
all-in-one pod rolls and reloads when either config changes.

Bumps the jaeger chart to 4.11.1.

Signed-off-by: ogl <ogl@dips.no>
@oysteingl oysteingl force-pushed the jaeger-allinone-checksum-config branch from b589b55 to 184d32a Compare June 14, 2026 05:18
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