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

'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>
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 0.00%. Comparing base (35e0ded) to head (6e53024).

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

☔ 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.

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.

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

2 participants