Skip to content

Commit dc82c09

Browse files
committed
api: Update Gateway.Spec.Listener[x].Routes.Selector to be a pointer
Signed-off-by: Steve Sloka <[email protected]>
1 parent 7417038 commit dc82c09

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

apis/v1alpha1/gateway_types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,7 @@ type RouteBindingSelector struct {
405405
// Support: Core
406406
//
407407
// +optional
408-
Selector metav1.LabelSelector `json:"selector,omitempty"`
408+
Selector *metav1.LabelSelector `json:"selector,omitempty"`
409409
// Group is the group of the route resource to select. Omitting the value or specifying
410410
// the empty string indicates the networking.x-k8s.io API group.
411411
// For example, use the following to select an HTTPRoute:

apis/v1alpha1/zz_generated.deepcopy.go

Lines changed: 5 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)