Adding Status field to NetworkAttachmentDefinition#38
Adding Status field to NetworkAttachmentDefinition#38nishantsankhala wants to merge 1 commit intok8snetworkplumbingwg:masterfrom
Conversation
|
Thank you for your PR, @nishantsankhala As far as I looked the PR, your change includes net-attach-def CRD itself. We define CRD in multi-net-spec, hence you need to change this spec first to modify the CRD. Regarding your change, 'status' field seems to be only for some controller, which may need to have and it seems to be 'optional' field for other use-case. So I suppose you can use |
|
I think a proper status field makes sense as it allows to programmatically access the status information in a more kube api native way. Also it doesn't break backwards compatibility. Controllers can use or not use the status field. Existing CRDs would be updated without breaking the behavior. |
|
Hi, As I noted before, your change does not bug fix, enhancement net-attach-def CRD. CRD is defined in multi-net-spec by our community, hence you need to change this spec first to modify the CRD. To change the CRD spec, bi-weekly meeting is the best place to discuss. I guess. Please check the community page for the detail. Looking forward to seeing you at the meeting! |
|
I think this is a positive change if I understand it correctly, thanks for the contribution! However, Tomo is right on, since this object is defined by a working group, we'd like to have a discussion prior to bringing the change in -- just to make sure everyone is on the same page. As Tomo mentioned, the biweekly meeting is the perfect spot. I'll add the discussion to the agenda but it'd be much appreciated if you have the chance to join. |
|
ack, we'll be there and present
…On Wed, May 26, 2021 at 15:19 Tomofumi Hayashi ***@***.***> wrote:
Hi,
As I noted before, your change does not bug fix, enhancement
net-attach-def CRD. CRD is defined in multi-net-spec by our community,
hence you need to change this spec first to modify the CRD. To change the
CRD spec, bi-weekly meeting is the best place to discuss. I guess. Please
check the community page for the detail. Looking forward to seeing you at
the meeting!
https://github.com/k8snetworkplumbingwg/community
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#38 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABUFT4LNOUQQQVFK7JQ2OW3TPVXX7ANCNFSM45JGQ2ZQ>
.
|
This PR adds Status field to
NetworkAttachmentDefinition.The
Statusfield containsReconcilerStatewhich can be used byNetworkAttachmentDefinitioncontroller implementation to provide currentStateof the object andObservationrelated to the state.