Skip to content

fix(helm): roll apiserver pods when ConfigMap changes - #1675

Merged
akijakya merged 1 commit into
mainfrom
fix/apiserver-configmap-rollout
Jun 18, 2026
Merged

akijakya merged 1 commit into
mainfrom
fix/apiserver-configmap-rollout

Conversation

@akijakya

Copy link
Copy Markdown
Member

Add checksum/config pod annotations derived from the server ConfigMap so Helm upgrades trigger a rolling restart.

@akijakya akijakya self-assigned this Jun 18, 2026
@akijakya
akijakya requested a review from a team as a code owner June 18, 2026 10:24
@akijakya
akijakya requested a review from Copilot June 18, 2026 10:24
@github-actions github-actions Bot added the size/XS Denotes a PR that changes 0-49 lines label Jun 18, 2026

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

This PR updates the dir/apiserver Helm chart Deployments to trigger a rolling restart whenever the rendered ConfigMap changes, ensuring pods pick up updated config when config files are mounted via subPath.

Changes:

  • Add a checksum/config pod template annotation (sha256 of the rendered configmap.yaml) to the apiserver Deployment.
  • Add the same checksum/config annotation to the reconciler Deployment so it rolls alongside config updates.

Reviewed changes

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

File Description
install/charts/dir/apiserver/templates/deployment.yaml Adds checksum/config annotation while preserving existing .Values.podAnnotations support.
install/charts/dir/apiserver/templates/reconciler-deployment.yaml Adds checksum/config annotation to force reconciler pod rollout on ConfigMap changes.

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

@codecov

codecov Bot commented Jun 18, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@akijakya
akijakya merged commit 159b65b into main Jun 18, 2026
34 checks passed
@akijakya
akijakya deleted the fix/apiserver-configmap-rollout branch June 18, 2026 11:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/XS Denotes a PR that changes 0-49 lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants