Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

📖 WIP - Proposal: Automating Operator Maintenance: Driving Better Results with Less Overhead #4302

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

camilamacedo86
Copy link
Member

Proposal: Automated Kubebuilder Project Update Action

This proposal aims to create a GitHub Action similar to Dependabot for Kubebuilder,
automating the process of regenerating scaffolds and preserving custom code when new
versions of Kubebuilder are released. This solution ensures that projects stay
updated with best practices, bug fixes, and features, ultimately improving
maintainability and adoption by reducing the complexity of manual updates.

Copy link

linux-foundation-easycla bot commented Nov 7, 2024

CLA Signed

The committers listed above are authorized under a signed CLA.

@k8s-ci-robot k8s-ci-robot added cncf-cla: no Indicates the PR's author has not signed the CNCF CLA. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Nov 7, 2024
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: camilamacedo86

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

The pull request process is described here

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

@k8s-ci-robot k8s-ci-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. and removed cncf-cla: no Indicates the PR's author has not signed the CNCF CLA. labels Nov 7, 2024
@camilamacedo86 camilamacedo86 added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Nov 9, 2024
@mateusoliveira43
Copy link
Contributor

I would like to help in this one 😄

I am trying to use a similar approach in one of the projects I work on https://github.com/migtools/oadp-non-admin/blob/master/docs/CONTRIBUTING.md#upgrade-kubebuilder-version

But on other project, the upgrade process does not have any guidelines, and we are very outdated on current features. This would facilitate the project being up to date with lastest kubebuilder releases

@camilamacedo86
Copy link
Member Author

Hi @mateusoliveira43

Regards: #4302 (comment)

That would be great.
We need to finish the Proposal.
But if you want share a POC to prove that works and how would work
OR a PR with a code implementation is excellent.

We also need to ensure that we have a test in place to ensure this solution

|-----------------|---------------|-------------|-------|
| @camilamacedo86 | 2024-11-07 | Implementable | - |

# Proposal: Automating maintenance via tooling and actions

This comment was marked as outdated.

@camilamacedo86 camilamacedo86 changed the title 📖 WIP - Proposal: Automated Kubebuilder Project Update Action 📖 WIP - Proposal: Automating Operator Maintenance: Driving Better Results with Less Overhead Feb 9, 2025
@k8s-ci-robot k8s-ci-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Feb 9, 2025
@vitorfloriano
Copy link

Hi @camilamacedo86, I'm aware this is still a WIP, and I don't know if I'm jumping the gun here, but I'm very interested in the KubeBuilder project for GSoC 2025 and wondering if there will be an official announcement for the proposals, like the ones in #3283 and #3309 .

@camilamacedo86
Copy link
Member Author

camilamacedo86 commented Feb 21, 2025

Hi @vitorfloriano,

That sounds great!

Yes, we have added it to GSoC here: link.

However, we need to wait and see if the project gets accepted first. You can check the timeline here: GSoC Timeline.

Once it’s officially accepted, we can start promoting it, and interested students will be able to apply.

Let me know if you have any questions! Feel free to ping in the slack

@vitorfloriano
Copy link

@camilamacedo86 Thanks for the quick response! Yes, I thought it might be a little early to ask about the proposal, but I wanted to get a head start by looking at past proposals and resources. I'm currently diving into the skilling-up links from the FAQ in #3283 and doing my research on Git merge strategies. I'll let you know if I have any questions. Fingers crossed for GSoC!

@chethanm99
Copy link

Hi everyone my name is Chethan and I'm working on a GSoC proposal to automate operator maintenance in Kubebuilder using GitHub Actions , 3-way merge and AI-driven conflict resolution.
I want to make sure that my proposal addresses real challenges that maintainers face when updating Kubebuilder - based projects. From my research i found out that manual updates are time consuming, merge conflicts in scaffolded files are hard to resolve and security patches are delayed due to slow updates .
Are there any major points which I should consider and also do you currently handle any update-related merge conflict? I'd love to have any feedback so that I can refine my proposal to be useful to the community!

Thanks in advance!

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. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants