Skip to content

chore: let Renovate manage the sidecar image tags in make/00_mod.mk - #576

Merged
cert-manager-prow[bot] merged 3 commits into
mainfrom
renovate-sidecar-images
Aug 5, 2026
Merged

chore: let Renovate manage the sidecar image tags in make/00_mod.mk#576
cert-manager-prow[bot] merged 3 commits into
mainfrom
renovate-sidecar-images

Conversation

@wallrj

@wallrj wallrj commented Aug 4, 2026

Copy link
Copy Markdown
Member

Adds a Renovate regex custom manager so that the livenessprobe and csi-node-driver-registrar tags in make/00_mod.mk are updated by Renovate (docker datasource against registry.k8s.io/sig-storage/*), instead of the manual pre-release step in RELEASE.md.

Same change as cert-manager/csi-driver#715. The regex was validated against the current file, capturing both images (currently already at the latest versions in this repo).

🤖 Generated with Claude Code

@cert-manager-prow cert-manager-prow Bot added dco-signoff: yes Indicates that all commits in the pull request have the valid DCO sign-off message. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Aug 4, 2026
wallrj and others added 2 commits August 4, 2026 17:55
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Signed-off-by: Richard Wall <richard@the-moon.net>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Signed-off-by: Richard Wall <richard@the-moon.net>
@wallrj
wallrj requested review from SgtCoDFish and erikgb and a lite review from Copilot August 5, 2026 11:41

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 Changes recommended

The new regex manager configuration is not robust enough as written and could mis-associate extracted values or fail to match common tag formats (e.g., pre-releases).

Once you've addressed the issues Copilot identified, you can request another Copilot review.

This review doesn't count toward merge requirements. Sign up for the private preview to control whether Copilot approvals count.

Pull request overview

This PR configures Renovate to automatically update the livenessprobe and csi-node-driver-registrar sidecar image tags declared in make/00_mod.mk, replacing a manual release-time update step with an automated regex-based manager.

Changes:

  • Adds a Renovate customManagers entry using the regex manager to extract depName and currentValue from make/00_mod.mk.
  • Targets the sidecar *_image_name_source / *_image_name / *_image_tag triple-line blocks for Docker tag updates.
File summaries
File Description
.github/renovate.json5 Adds a Renovate regex custom manager intended to extract and update the sidecar image tags from make/00_mod.mk.
Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 1
  • Review effort level: Lite

We're testing this review assessment. Please use 👍 or 👎 to tell us if it's correct.

Comment thread .github/renovate.json5 Outdated
Address review feedback on cert-manager/csi-driver#715: replace the
generic three-line regex with two managers, each matching a single
<x>_image_tag line with a hardcoded depName, and add a comment in
make/00_mod.mk pointing at the Renovate config.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Signed-off-by: Richard Wall <richard@the-moon.net>

@SgtCoDFish SgtCoDFish left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

/lgtm
/approve

Cheers!

@cert-manager-prow cert-manager-prow Bot added the lgtm Indicates that a PR is ready to be merged. label Aug 5, 2026
@cert-manager-prow

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: SgtCoDFish

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@cert-manager-prow cert-manager-prow Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 5, 2026
@cert-manager-prow
cert-manager-prow Bot merged commit dde88ba into main Aug 5, 2026
5 checks passed
@SgtCoDFish
SgtCoDFish deleted the renovate-sidecar-images branch August 5, 2026 15:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. dco-signoff: yes Indicates that all commits in the pull request have the valid DCO sign-off message. lgtm Indicates that a PR is ready to be merged. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants