Closed ffromani closed 1 year ago
FYI @marquiz @PiotrProkop
LGTM! Good job. 🚀
Makefile additions deferred to #33
Updated. The only remaining concern is attaching or not the behavior to the objects. Still investigating.
I'm inclined to follow the lead of https://github.com/kubernetes/kubernetes/tree/master/pkg/apis/core/v1/helper and don't attach behavior to API objects, using free functions. We can totally revisit this decision if there is new evidence or guidelines
I'm inclined to follow the lead of https://github.com/kubernetes/kubernetes/tree/master/pkg/apis/core/v1/helper and don't attach behavior to API objects, using free functions.
I'm inclined to agree with this 😇
I'm inclined to follow the lead of https://github.com/kubernetes/kubernetes/tree/master/pkg/apis/core/v1/helper and don't attach behavior to API objects, using free functions.
I'm inclined to agree with this innocent
Thanks! I want to emphasize this decision is not final and I'm very open to pivot to the other direction if new evidence or recommendations comes out. We have more wiggle room wrt the API guarantees (and API is still v1alphaX
anyway!)
it seems we have consensus, so I'm merging!
add helpers to consolidate utility code commonly used by consumers of the API. modeled after https://github.com/kubernetes/kubernetes/tree/v1.26.1/pkg/apis/core/v1/helper