Make Renovate suggest kind image upgrades#8098
Conversation
Signed-off-by: Erik Godding Boye <egboye@gmail.com>
There was a problem hiding this comment.
Pull Request Overview
This PR configures Renovate to automatically suggest kind image upgrades by adding a custom regex manager to track the kind version and execute a post-upgrade task to update the corresponding Docker image digests.
- Adds Renovate configuration to track the kind version in
hack/latest-kind-images.sh - Hardcodes the kind version in the script and updates the generation comment
- Configures a post-upgrade task to automatically run the image update script when kind is upgraded
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
.github/renovate.json5 |
Adds custom regex manager for kind version tracking and post-upgrade automation |
hack/latest-kind-images.sh |
Hardcodes kind version and updates generation comment for Renovate compatibility |
make/kind_images.sh |
Updates generation comment to reflect new automated process |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Reconfigure PR ResultsThis is an reconfigure PR comment to help you understand and re-configure your renovate bot settings. If this Reconfigure PR were to be merged, we'd expect to see the following outcome: Detected Package Files
Configuration SummaryBased on the default config's presets, Renovate will:
What to ExpectWith your current configuration, Renovate will create 4 Pull Requests: fix(deps): update k8s.io/kube-openapi digest to 589584f
fix(deps): update cloud go deps
fix(deps): update module github.com/akamai/akamaiopen-edgegrid-golang/v11 to v12
fix(deps): update module github.com/cloudflare/cloudflare-go/v5 to v6
|
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ThatsMrTalbot The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Pull Request Motivation
This PR should make Renovate suggest (synthetic) kind upgrades. By reusing the current hack-script in a Renovate post-upgrade-task, the kind image shell variables containing kindest/node image digest should be maintained as before.
I am under the impression that #8096 followed by this PR should finally close #4033, a vintage important-soon issue.
Close #8074
Kind
/kind cleanup
Release Note