Skip to content

Commit

Permalink
Merge pull request #309 from rabi/optional
Browse files Browse the repository at this point in the history
Make ServiceNetwork optional in IPSetReservration
  • Loading branch information
openshift-merge-bot[bot] authored Nov 18, 2024
2 parents 47b4c2e + 9f35249 commit d52a058
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion apis/bases/network.openstack.org_ipsets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,6 @@ spec:
- address
- dnsDomain
- network
- serviceNetwork
- subnet
type: object
type: array
Expand Down
1 change: 1 addition & 0 deletions apis/network/v1beta1/ipset_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ type IPSetReservation struct {
// DNSDomain of the subnet
DNSDomain string `json:"dnsDomain"`

// +kubebuilder:validation:Optional
// ServiceNetwork mapping
ServiceNetwork ServiceNetNameStr `json:"serviceNetwork"`
}
Expand Down
1 change: 0 additions & 1 deletion config/crd/bases/network.openstack.org_ipsets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,6 @@ spec:
- address
- dnsDomain
- network
- serviceNetwork
- subnet
type: object
type: array
Expand Down

0 comments on commit d52a058

Please sign in to comment.