diff --git a/apis/bases/network.openstack.org_ipsets.yaml b/apis/bases/network.openstack.org_ipsets.yaml index cd6c2fc3..d33687ee 100644 --- a/apis/bases/network.openstack.org_ipsets.yaml +++ b/apis/bases/network.openstack.org_ipsets.yaml @@ -195,7 +195,6 @@ spec: - address - dnsDomain - network - - serviceNetwork - subnet type: object type: array diff --git a/apis/network/v1beta1/ipset_types.go b/apis/network/v1beta1/ipset_types.go index 81eb7b51..d0ee8483 100644 --- a/apis/network/v1beta1/ipset_types.go +++ b/apis/network/v1beta1/ipset_types.go @@ -83,6 +83,7 @@ type IPSetReservation struct { // DNSDomain of the subnet DNSDomain string `json:"dnsDomain"` + // +kubebuilder:validation:Optional // ServiceNetwork mapping ServiceNetwork ServiceNetNameStr `json:"serviceNetwork"` } diff --git a/config/crd/bases/network.openstack.org_ipsets.yaml b/config/crd/bases/network.openstack.org_ipsets.yaml index cd6c2fc3..d33687ee 100644 --- a/config/crd/bases/network.openstack.org_ipsets.yaml +++ b/config/crd/bases/network.openstack.org_ipsets.yaml @@ -195,7 +195,6 @@ spec: - address - dnsDomain - network - - serviceNetwork - subnet type: object type: array