k8sgpt-ai/k8sgpt-operator

[Feature]: Upgrade kubebuilder project from go.kubebuilder.io/v3 to v4

arbreezy opened this issue · 0 comments

Checklist

  • I've searched for similar issues and couldn't find anything matching
  • I've discussed this feature request in the K8sGPT Slack and got positive feedback

Is this feature request related to a problem?

None

Problem Description

It might cause issues with future K8s versions as we can't upgrade controller-runtime

Solution Description

Upgrade to kubebuilder v4, effectively requires spinning up a new project and migrate old files and api specs to the new one

see here for more details, https://book.kubebuilder.io/migration/migration_guide_gov3_to_gov4

Benefits

Use the latest features of kubebuilder and being able to to upgrade controller-runtime

Potential Drawbacks

No response

Additional Information

related GH issues from operator-sdk which leverages kubebuilder
operator-framework/operator-sdk#6554
operator-framework/operator-sdk#6651