Skip to content

Enable kubebuilder autoupdate plugin via github workflow#648

Merged
afritzler merged 1 commit intomainfrom
kubebuilder-autoupdate-plugin-workflow
Feb 4, 2026
Merged

Enable kubebuilder autoupdate plugin via github workflow#648
afritzler merged 1 commit intomainfrom
kubebuilder-autoupdate-plugin-workflow

Conversation

@asergeant01
Copy link
Contributor

@asergeant01 asergeant01 commented Feb 4, 2026

Proposed Changes

Enables kubebuilder autoupdate plugin and github workflow

Fixes #647

Summary by CodeRabbit

Release Notes

  • Chores
    • Added automated weekly update workflow to check for and apply available updates
    • Configured automatic issue creation when updates are detected, streamlining the update process

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Feb 4, 2026

Walkthrough

A new GitHub Actions workflow is added to automatically update the Kubebuilder project scaffold, triggered manually or weekly on Tuesdays. The autoupdate plugin is enabled in the PROJECT configuration file.

Changes

Cohort / File(s) Summary
Kubebuilder Auto Update Workflow
.github/workflows/auto_update.yml
New workflow that runs kubebuilder alpha update with force, push, and restore-path flags, with configuration for git user, Go setup, and Kubebuilder installation. Supports opening GitHub issues for review.
Project Configuration
PROJECT
Enables the autoupdate.kubebuilder.io/v1-alpha plugin in the PROJECT configuration.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~8 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description check ✅ Passed The description follows the template with a 'Proposed Changes' section and issue reference, though the bullet points are replaced with inline text rather than a list format.
Linked Issues check ✅ Passed The PR implements the requirement from issue #647 by adding the autoupdate-v1-alpha plugin to the PROJECT file and creating the corresponding GitHub Actions workflow.
Out of Scope Changes check ✅ Passed All changes are directly related to enabling the kubebuilder autoupdate plugin and workflow as specified in issue #647; no extraneous modifications detected.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Title check ✅ Passed The title accurately describes the main changes: enabling the kubebuilder autoupdate plugin and adding a GitHub workflow to support it.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch kubebuilder-autoupdate-plugin-workflow

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions github-actions bot added the size/M label Feb 4, 2026
@asergeant01 asergeant01 marked this pull request as ready for review February 4, 2026 14:10
@asergeant01 asergeant01 requested a review from a team as a code owner February 4, 2026 14:10
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Fix all issues with AI agents
In @.github/workflows/auto_update.yml:
- Around line 44-49: Replace the unpinned "Install Kubebuilder" step to download
a specific Kubebuilder release matching the PROJECT cliVersion (e.g., 4.11.1)
and verify its checksum before installing: add a shell variable for the pinned
version (from PROJECT), download the corresponding kubebuilder tarball and its
SHA256SUM (or .sha256) from the official release URL, verify the checksum with
sha256sum (or similar) and exit on mismatch, then extract/move the binary and
run kubebuilder version; update the step that currently uses "latest" and the
kubebuilder installation flow so it fails fast on checksum verification and uses
the pinned version variable.
🧹 Nitpick comments (1)
.github/workflows/auto_update.yml (1)

38-41: Consider pinning Go to the repo’s supported version for reproducibility.
Using stable can change behavior when new Go versions are released. Aligning with go.mod improves determinism.

♻️ Example pin
     - name: Set up Go
       uses: actions/setup-go@v5
       with:
-        go-version: stable
+        go-version-file: go.mod

@asergeant01 asergeant01 force-pushed the kubebuilder-autoupdate-plugin-workflow branch from 0649643 to 54ac049 Compare February 4, 2026 14:17
@afritzler afritzler changed the title enable kubebuilder autoupdate plugin and github workflow Enable kubebuilder autoupdate plugin and github workflow Feb 4, 2026
@afritzler afritzler added the chore label Feb 4, 2026
@afritzler afritzler changed the title Enable kubebuilder autoupdate plugin and github workflow Enable kubebuilder autoupdate plugin via github workflow Feb 4, 2026
@afritzler afritzler merged commit 158d219 into main Feb 4, 2026
20 of 21 checks passed
@afritzler afritzler deleted the kubebuilder-autoupdate-plugin-workflow branch February 4, 2026 16:42
@github-project-automation github-project-automation bot moved this to Done in Roadmap Feb 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Enable kubebuilder auto update plugin

2 participants