Skip to content

Commit

Permalink
Merge pull request #1241 from purelb/fix-support-statements
Browse files Browse the repository at this point in the history
Ensure that "Supports:" statements stand alone in the docs
  • Loading branch information
k8s-ci-robot authored Jun 29, 2022
2 parents 6f51a1a + bba29c6 commit be6cb1d
Show file tree
Hide file tree
Showing 11 changed files with 46 additions and 35 deletions.
6 changes: 5 additions & 1 deletion apis/v1alpha2/httproute_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,7 @@ type HTTPRouteRule struct {
// recommended to return a 503 status code.
//
// Support: Core for Kubernetes Service
//
// Support: Custom for any other resource
//
// Support for weight: Core
Expand Down Expand Up @@ -554,6 +555,7 @@ type HTTPRouteFilter struct {
RequestRedirect *HTTPRequestRedirectFilter `json:"requestRedirect,omitempty"`

// URLRewrite defines a schema for a filter that modifies a request during forwarding.
//
// Support: Extended
//
// <gateway:experimental>
Expand Down Expand Up @@ -824,8 +826,9 @@ type HTTPRequestRedirectFilter struct {
// forwarding. At most one of these filters may be used on a Route rule. This
// MUST NOT be used on the same Route rule as a HTTPRequestRedirect filter.
//
// <gateway:experimental>
// Support: Extended
//
// <gateway:experimental>
type HTTPURLRewriteFilter struct {
// Hostname is the value to be used to replace the Host header value during
// forwarding.
Expand Down Expand Up @@ -864,6 +867,7 @@ type HTTPRequestMirrorFilter struct {
// should be used to provide more detail about the problem.
//
// Support: Extended for Kubernetes Service
//
// Support: Custom for any other resource
BackendRef BackendObjectReference `json:"backendRef"`
}
Expand Down
1 change: 1 addition & 0 deletions apis/v1alpha2/shared_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ type ParentReference struct {
// Kind is kind of the referent.
//
// Support: Core (Gateway)
//
// Support: Custom (Other Resources)
//
// +kubebuilder:default=Gateway
Expand Down
1 change: 1 addition & 0 deletions apis/v1alpha2/tcproute_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ type TCPRouteRule struct {
// connections, then 80% of connections must be rejected instead.
//
// Support: Core for Kubernetes Service
//
// Support: Custom for any other resource
//
// Support for weight: Extended
Expand Down
1 change: 1 addition & 0 deletions apis/v1alpha2/tlsroute_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ type TLSRouteRule struct {
// instead.
//
// Support: Core for Kubernetes Service
//
// Support: Custom for any other resource
//
// Support for weight: Extended
Expand Down
5 changes: 4 additions & 1 deletion apis/v1beta1/httproute_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -553,6 +553,7 @@ type HTTPRouteFilter struct {
RequestRedirect *HTTPRequestRedirectFilter `json:"requestRedirect,omitempty"`

// URLRewrite defines a schema for a filter that modifies a request during forwarding.
//
// Support: Extended
//
// <gateway:experimental>
Expand Down Expand Up @@ -823,8 +824,9 @@ type HTTPRequestRedirectFilter struct {
// forwarding. At most one of these filters may be used on a Route rule. This
// MUST NOT be used on the same Route rule as a HTTPRequestRedirect filter.
//
// <gateway:experimental>
// Support: Extended
//
// <gateway:experimental>
type HTTPURLRewriteFilter struct {
// Hostname is the value to be used to replace the Host header value during
// forwarding.
Expand Down Expand Up @@ -863,6 +865,7 @@ type HTTPRequestMirrorFilter struct {
// should be used to provide more detail about the problem.
//
// Support: Extended for Kubernetes Service
//
// Support: Custom for any other resource
BackendRef BackendObjectReference `json:"backendRef"`
}
Expand Down
1 change: 1 addition & 0 deletions apis/v1beta1/shared_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ type ParentReference struct {
// Kind is kind of the referent.
//
// Support: Core (Gateway)
//
// Support: Custom (Other Resources)
//
// +kubebuilder:default=Gateway
Expand Down
28 changes: 14 additions & 14 deletions config/crd/experimental/gateway.networking.k8s.io_httproutes.yaml

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

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

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

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

20 changes: 10 additions & 10 deletions config/crd/standard/gateway.networking.k8s.io_httproutes.yaml

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

0 comments on commit be6cb1d

Please sign in to comment.