Skip to content

Commit

Permalink
Adding a controller field to GatewayReference in RouteGatewayStatus
Browse files Browse the repository at this point in the history
  • Loading branch information
robscott committed Apr 20, 2021
1 parent 71f9311 commit 8693db6
Show file tree
Hide file tree
Showing 6 changed files with 55 additions and 2 deletions.
6 changes: 6 additions & 0 deletions apis/v1alpha1/shared_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,12 @@ type GatewayReference struct {
// +kubebuilder:validation:MinLength=1
// +kubebuilder:validation:MaxLength=253
Namespace string `json:"namespace"`

// Controller is the name of the controller implementing the Gateway.
//
// +kubebuilder:validation:MaxLength=253
// +optional
Controller *string `json:"controller"`
}

// RouteForwardTo defines how a Route should forward a request.
Expand Down
11 changes: 9 additions & 2 deletions apis/v1alpha1/zz_generated.deepcopy.go

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

10 changes: 10 additions & 0 deletions config/crd/bases/networking.x-k8s.io_httproutes.yaml

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

10 changes: 10 additions & 0 deletions config/crd/bases/networking.x-k8s.io_tcproutes.yaml

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

10 changes: 10 additions & 0 deletions config/crd/bases/networking.x-k8s.io_tlsroutes.yaml

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

10 changes: 10 additions & 0 deletions config/crd/bases/networking.x-k8s.io_udproutes.yaml

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

0 comments on commit 8693db6

Please sign in to comment.