Skip to content

Commit

Permalink
api: Update Gateway.Spec.Listener[x].Routes.Selector to be a pointer
Browse files Browse the repository at this point in the history
Fixes kubernetes-sigs#571

Signed-off-by: Steve Sloka <[email protected]>
  • Loading branch information
Steve Sloka authored and stevesloka committed Mar 3, 2021
1 parent 7417038 commit 8d748b6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apis/v1alpha1/gateway_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ type RouteBindingSelector struct {
// Support: Core
//
// +optional
Selector metav1.LabelSelector `json:"selector,omitempty"`
Selector *metav1.LabelSelector `json:"selector,omitempty"`
// Group is the group of the route resource to select. Omitting the value or specifying
// the empty string indicates the networking.x-k8s.io API group.
// For example, use the following to select an HTTPRoute:
Expand Down
6 changes: 5 additions & 1 deletion apis/v1alpha1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 8d748b6

Please sign in to comment.