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

Refactor subnet subnetset CRD status #604

Conversation

timdengyun
Copy link
Contributor

@timdengyun timdengyun commented Jun 18, 2024

1.Remove subnet CRD unused DHCP options since these fields are not
used, so not expose to uesers.
2.Add gatewayAddresses and DHCPServerAddresses into the subnet CRD status
field, also adding them in subnet field of subnetset CRD.
3.Rename status ipAddress to networkAddresses

@timdengyun timdengyun force-pushed the remove_subnet_dhcp_options_add_gw_dhcp_status branch 2 times, most recently from 47a5263 to a7bc26f Compare June 19, 2024 09:12
@timdengyun timdengyun requested a review from TaoZou1 June 19, 2024 09:32
@timdengyun timdengyun force-pushed the remove_subnet_dhcp_options_add_gw_dhcp_status branch 3 times, most recently from eb41c14 to b6ad3d3 Compare June 20, 2024 13:30
@timdengyun timdengyun changed the title Refactor subnet subnetset CRD Refactor subnet subnetset CRD status Jun 20, 2024
@timdengyun timdengyun force-pushed the remove_subnet_dhcp_options_add_gw_dhcp_status branch from b6ad3d3 to bf9463f Compare June 20, 2024 15:17
jwsui
jwsui previously approved these changes Jun 21, 2024
Copy link
Contributor

@jwsui jwsui left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@timdengyun timdengyun requested a review from jianjuns June 21, 2024 02:52
@timdengyun timdengyun force-pushed the remove_subnet_dhcp_options_add_gw_dhcp_status branch from bf9463f to da0d1cb Compare June 21, 2024 05:28
@timdengyun timdengyun requested a review from jianjuns June 25, 2024 02:53
@timdengyun timdengyun force-pushed the remove_subnet_dhcp_options_add_gw_dhcp_status branch from da0d1cb to a9fea04 Compare June 25, 2024 05:14
1.Remove subnet CRD unused DHCP options since these fields are not
used, so not expose to uesers.
2.Add gatewayAddresses and DHCPServerAddresses into the subnet CRD status
field, also adding them in subnet field of subnetset CRD.
3.Rename status ipAddress to networkAddresses
@timdengyun timdengyun force-pushed the remove_subnet_dhcp_options_add_gw_dhcp_status branch from a9fea04 to 8b76e09 Compare June 25, 2024 05:20
@timdengyun timdengyun merged commit a1ced92 into vmware-tanzu:main Jun 26, 2024
2 checks passed
timdengyun added a commit to timdengyun/nsx-operator-1 that referenced this pull request Aug 22, 2024
In the PR:
vmware-tanzu#604
we have removed DNS-related config settings from subnet CRD.
However, DNSClientConfig struct is not deleted.
This PR is to remove this omitted struct definition.
timdengyun added a commit that referenced this pull request Aug 22, 2024
In the PR:
#604
we have removed DNS-related config settings from subnet CRD.
However, DNSClientConfig struct is not deleted.
This PR is to remove this omitted struct definition.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants