Skip to content

P4DEVOPS-16202: fix Reloader annotation to use templated pools ConfigMap name - #183

Open
smahima27 wants to merge 1 commit into
mainfrom
P4DEVOPS-16202
Open

smahima27 wants to merge 1 commit into
mainfrom
P4DEVOPS-16202

Conversation

@smahima27

Copy link
Copy Markdown
Contributor

Summary

  • deployment-api.yaml and deployment-manager.yaml hardcoded the literal string vmpooler-pools as the second target of configmap.reloader.stakater.com/reload, instead of templating .Values.poolsConfigMapName.
  • Any consumer that overrides poolsConfigMapName (e.g. dio-helm-charts's dio-vmpooler chart sets it to dio-vmpooler-pools) never gets picked up by Stakater Reloader, so pool config changes silently require a manual kubectl rollout restart - discovered while shipping a vmpooler template fix (P4DEVOPS-16180) on both vmpooler-dev and vmpooler-prod, where neither environment auto-restarted after the ConfigMap updated.
  • Bumped chart version to 3.10.4.

Confirmed via helm template --set poolsConfigMapName=dio-vmpooler-pools: the annotation now renders vmpooler-baseconfig,dio-vmpooler-pools instead of the stale vmpooler-baseconfig,vmpooler-pools.

Test plan

  • helm lint helm-charts/vmpooler
  • helm template with poolsConfigMapName override renders the corrected annotation
  • After merge + release, bump dio-helm-charts's vmpooler dependency to 3.10.4 and confirm a pool config change auto-restarts vmpooler-dev/vmpooler-prod without a manual rollout restart

🤖 Generated with Claude Code

…Map name

deployment-api.yaml and deployment-manager.yaml hardcoded the literal
string "vmpooler-pools" as the second configmap.reloader.stakater.com/reload
target instead of templating .Values.poolsConfigMapName. Consumers that
override poolsConfigMapName (e.g. dio-helm-charts' dio-vmpooler chart sets
it to "dio-vmpooler-pools") never get picked up by Reloader, so pool config
changes silently require a manual rollout restart.

Confirmed via `helm template --set poolsConfigMapName=dio-vmpooler-pools`:
the annotation now renders "vmpooler-baseconfig,dio-vmpooler-pools" instead
of "vmpooler-baseconfig,vmpooler-pools".

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@smahima27
smahima27 requested a review from a team as a code owner October 1, 2026 04:12

This branch has not been deployed

No deployments
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.

1 participant