Skip to content

fix: remove hardcoded image.tag to use Chart.AppVersion#239

Merged
thepagent merged 1 commit intoopenabdev:mainfrom
JARVIS-coding-Agent:fix/issue-235-image-tag
Apr 12, 2026
Merged

fix: remove hardcoded image.tag to use Chart.AppVersion#239
thepagent merged 1 commit intoopenabdev:mainfrom
JARVIS-coding-Agent:fix/issue-235-image-tag

Conversation

@JARVIS-coding-Agent
Copy link
Copy Markdown
Contributor

Summary

Set image.tag to an empty string in charts/openab/values.yaml so the Helm template falls back to .Chart.AppVersion.

Root Cause

image.tag was hardcoded to a commit hash (94253a5), which prevented helm upgrade from picking up the appVersion defined in Chart.yaml. Deployed pods ran an outdated binary as a result.

Fix

image:
  tag: ""

The existing template logic in _helpers.tpl:

{{- $tag := default .ctx.Chart.AppVersion .ctx.Values.image.tag }}

will now correctly resolve to the chart's appVersion (0.7.0-beta.1).

Closes #235

Copy link
Copy Markdown
Collaborator

@thepagent thepagent left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The image.tag: "" fix is correct, but this PR also rewrites the entire values.yaml from the old flat structure (discord.*, agent.*, pool.*) to the new agents.kiro.* structure. That migration was already done on main — so this diff is re-applying a change that already exists.

If merged as-is, it could overwrite recent additions (e.g. the stt block from #228) or cause merge conflicts.

Suggested fix: Please rebase onto latest main and reduce the diff to just the one-line change:

image:
  tag: ""    # was: "94253a5" (or "78f8d2c")

Everything else in values.yaml should already match main after rebase.

Set image.tag to empty string so the Helm template falls back to .Chart.AppVersion.

Closes openabdev#235
Copy link
Copy Markdown
Collaborator

@thepagent thepagent left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM — clean one-liner, falls back to Chart.AppVersion as intended.

pahud
pahud previously approved these changes Apr 12, 2026
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.

bug: image.tag hardcoded in values.yaml causes version mismatch after helm upgrade

3 participants