Skip to content

fix(mysql): honor image.pullPolicy (reversed sprig default args)#3094

Draft
weicao wants to merge 1 commit into
mainfrom
helios/mysql-pullpolicy-arg-order
Draft

fix(mysql): honor image.pullPolicy (reversed sprig default args)#3094
weicao wants to merge 1 commit into
mainfrom
helios/mysql-pullpolicy-arg-order

Conversation

@weicao

@weicao weicao commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

Fixes #3093.

Mechanical, render-verified fix: swap the sprig default arguments at every reversed site (cmpd-mysql57/80/84, mgr and orc variants, _orc.tpl) and replace the exporter helper's hardcoded imagePullPolicy: IfNotPresent with the same expression.

Verification:

  • helm template --set image.pullPolicy=Always → 35/35 sites render Always (main renders 21 stuck at IfNotPresent)
  • default render → 35/35 IfNotPresent (unchanged behavior when the value is unset)

🤖 Generated with Claude Code

@codecov-commenter

codecov-commenter commented Jul 6, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 0.00%. Comparing base (b55707f) to head (7ede4e9).

Additional details and impacted files
@@          Coverage Diff          @@
##            main   #3094   +/-   ##
=====================================
  Coverage   0.00%   0.00%           
=====================================
  Files        147     147           
  Lines      23282   23282           
=====================================
  Misses     23282   23282           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

'default .Values.image.pullPolicy "IfNotPresent"' puts the fallback
second, so it always yielded IfNotPresent and the values key was
silently ignored at 20+ container sites; the exporter helper hardcoded
it outright. Normalize every site to
'default "IfNotPresent" .Values.image.pullPolicy'.

Fixes #3093

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@weicao
weicao force-pushed the helios/mysql-pullpolicy-arg-order branch from 6e53024 to 7ede4e9 Compare July 13, 2026 12:52
@weicao weicao added the nopick Not auto cherry-pick when PR merged label Jul 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

nopick Not auto cherry-pick when PR merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

mysql: image.pullPolicy silently ignored (reversed sprig default args at 20+ sites)

2 participants