Skip to content

Fix greedy sed in release.yml and restore cert-manager constraint#255

Merged
Shivs11 merged 1 commit intomainfrom
fix/update-chart-lock-0.24.0
Apr 1, 2026
Merged

Fix greedy sed in release.yml and restore cert-manager constraint#255
Shivs11 merged 1 commit intomainfrom
fix/update-chart-lock-0.24.0

Conversation

@Shivs11
Copy link
Copy Markdown
Member

@Shivs11 Shivs11 commented Apr 1, 2026

Summary

  • Restores cert-manager dependency version constraint to ">=v1.0.0" (was overwritten to 0.24.0 by the v1.5.1 release pipeline)
  • Fixes the root cause: sed commands in release.yml used s/version: .*/... which matched all version: lines, including indented dependency versions. Now anchored with ^ to only match the top-level chart version
  • Updates Chart.lock to be in sync with the restored Chart.yaml

Context

When the v1.5.1 release was published, release.yml's helm job:

  1. Overwrote the cert-manager constraint from ">=v1.0.0" to 0.24.0 (same bug as Revert cert-manager version constraint to ">=v1.0.0" from 0.23.0 wrongly added by CI #252)
  2. helm package then failed because cert-manager 0.24.0 doesn't exist in the jetstack repo
  3. The controller chart 0.24.0 was never published, but the CRDs chart 0.24.0 was

After merge

Trigger helm.yml manually with version_bump: none, ref: main to publish the controller chart 0.24.0 with appVersion: 1.5.1.

Test plan

  • CI passes
  • After merge, trigger helm.yml with version_bump: none, ref: main
  • Verify controller chart 0.24.0 is published to Docker Hub

🤖 Generated with Claude Code

The sed commands in release.yml matched all `version:` lines including
indented dependency versions, causing cert-manager's version constraint
to be overwritten on every release. Anchor with `^` to only match
top-level chart version. Also restore cert-manager to ">=v1.0.0" and
update Chart.lock.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@Shivs11 Shivs11 requested review from a team and jlegrone as code owners April 1, 2026 16:27
Copy link
Copy Markdown

@jaypipes jaypipes left a comment

Choose a reason for hiding this comment

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

makes sense.

@Shivs11 Shivs11 merged commit 24f1d21 into main Apr 1, 2026
17 checks passed
@Shivs11 Shivs11 deleted the fix/update-chart-lock-0.24.0 branch April 1, 2026 17:04
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.

2 participants