kubernetes-sigs / kubernetes-sigs/controller-runtime

Add "controllerutil" helpers for applyconfigurations (SSA)

Open
#2,674 10 comments 1 reaction 0 assignees View on GitHub
kind/feature lifecycle/frozen
Dominant language
Go
Stars
3k
Forks
1.3k
Avg merge
2d 5h
Merged PRs (30d)
14

Description

We are making extensive use of the helpers defined in https://github.com/kubernetes-sigs/controller-runtime/blob/main/pkg/controller/controllerutil/controllerutil.go, and while migrating our controllers to SSA we had to create our own modified copies based on corev1/metav1 applyconfigurations.

I think it could make sense adding a SSA-flavoured edition of these simple (but useful) helpers to controller-runtime. And I would be happy to submit a PR if you agree. The most challenging is probably to decide the package name/location. WDYT @alvaroaleman @vincepri @sbueringer?

Contributor guide

Open the contributing guide

Research direction

Start by reading pkg/controller/controllerutil/controllerutil.go and the referenced corev1/metav1 applyconfigurations. Review the discussion to determine whether controller-runtime should add SSA-flavoured helpers and where they belong; done requires agreement on the package location and scope before implementation.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
backend-api-design
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.