Skip to content

Commit

Permalink
docs: add conformance level for matching
Browse files Browse the repository at this point in the history
  • Loading branch information
shaneutt committed Dec 6, 2021
1 parent 8fb2636 commit f6db778
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions site-src/geps/gep-735.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ type AddressMatch struct {
//
// For IPAddress the implementor may expect either IPv4 or IPv6.
//
// Support: Core (IPAddress)
// Support: Custom (NamedAddress)
//
// +optional
// +kubebuilder:validation:Enum=IPAddress;NamedAddress
// +kubebuilder:default=IPAddress
Expand All @@ -62,6 +65,8 @@ type AddressMatch struct {
//
// Examples: `1.2.3.4`, `128::1`, `my-named-address`.
//
// Support: Core
//
// +kubebuilder:validation:MinLength=1
// +kubebuilder:validation:MaxLength=253
Value string `json:"value"`
Expand All @@ -77,10 +82,14 @@ Using the new `AddressMatch` type matches can be expressed in topical lists on
type TrafficMatches struct {
// SourceAddresses indicates the originating (source) network
// addresses which are valid for routing traffic.
//
// Support: Core
SourceAddresses []AddressMatch `json:"sourceAddresses"`

// DestinationAddresses indicates the destination network addresses
// which are valid for routing traffic.
//
// Support: Core
DestinationAddresses []AddressMatch `json:"destinationAddresses"`
```
Expand Down

0 comments on commit f6db778

Please sign in to comment.