Skip to content

renovate: Fix k8s patch updates on stable branches#44498

Merged
aanm merged 1 commit intomainfrom
pr/HadrienPatte/renovate-k8s-fix
Feb 23, 2026
Merged

renovate: Fix k8s patch updates on stable branches#44498
aanm merged 1 commit intomainfrom
pr/HadrienPatte/renovate-k8s-fix

Conversation

@HadrienPatte
Copy link
Copy Markdown
Member

The "k8s.io patch updates stable" rule was missing separateMinorPatch: true. With the global separateMinorPatch: false, Renovate produces a single PR targeting the latest version when a newer minor is available. That PR is classified as "minor", so matchUpdateTypes: ["patch"] never matches, enabled: true never fires, and the "k8s major/minor updates disabled" rule blocks it — no patch PR is ever created.

Add separateMajorMinor: true and separateMinorPatch: true to the rule, matching the pattern already used for lvh-images and external docker images on stable branches. This forces a separate "patch"-typed PR (staying within the current minor series) which the rule can correctly enable, while the "minor"-typed PR remains blocked as intended.

Followup to #44489

@maintainer-s-little-helper maintainer-s-little-helper bot added the dont-merge/needs-release-note-label The author needs to describe the release impact of these changes. label Feb 23, 2026
The `"k8s.io patch updates stable"` rule was missing `separateMinorPatch: true`. With the global `separateMinorPatch: false`, Renovate produces a single PR targeting the latest version when a newer minor is available. That PR is classified as "minor", so `matchUpdateTypes: ["patch"]` never matches, `enabled: true` never fires, and the `"k8s major/minor updates disabled"` rule blocks it — no patch PR is ever created.

Add `separateMajorMinor: true` and `separateMinorPatch: true` to the rule, matching the pattern already used for lvh-images and external docker images on stable branches. This forces a separate "patch"-typed PR (staying within the current minor series) which the rule can correctly enable, while the "minor"-typed PR remains blocked as intended.

Followup to #44489

Signed-off-by: Hadrien Patte <[email protected]>
@HadrienPatte HadrienPatte force-pushed the pr/HadrienPatte/renovate-k8s-fix branch from 9e13544 to d6d65fa Compare February 23, 2026 13:12
@HadrienPatte HadrienPatte marked this pull request as ready for review February 23, 2026 13:17
@HadrienPatte HadrienPatte requested review from a team as code owners February 23, 2026 13:17
@HadrienPatte HadrienPatte requested review from aanm and nebril February 23, 2026 13:17
@aanm aanm enabled auto-merge February 23, 2026 14:37
@aanm aanm added the release-note/misc This PR makes changes that have no direct user impact. label Feb 23, 2026
@maintainer-s-little-helper maintainer-s-little-helper bot removed the dont-merge/needs-release-note-label The author needs to describe the release impact of these changes. label Feb 23, 2026
@aanm
Copy link
Copy Markdown
Member

aanm commented Feb 23, 2026

/test

@aanm aanm added this pull request to the merge queue Feb 23, 2026
Merged via the queue into main with commit 3cf0504 Feb 23, 2026
86 checks passed
@aanm aanm deleted the pr/HadrienPatte/renovate-k8s-fix branch February 23, 2026 14:50
@maintainer-s-little-helper maintainer-s-little-helper bot added ready-to-merge This PR has passed all tests and received consensus from code owners to merge. labels Feb 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-to-merge This PR has passed all tests and received consensus from code owners to merge. release-note/misc This PR makes changes that have no direct user impact.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants