@@ -583,7 +583,7 @@ type HTTPRouteFilter struct {
583
583
// Reason of `UnsupportedValue`.
584
584
//
585
585
// +unionDiscriminator
586
- // +kubebuilder:validation:Enum=RequestHeaderModifier;RequestMirror;RequestRedirect;ExtensionRef
586
+ // +kubebuilder:validation:Enum=RequestHeaderModifier;RequestMirror;RequestRedirect;URLRewrite; ExtensionRef
587
587
// <gateway:experimental:validation:Enum=RequestHeaderModifier;ResponseHeaderModifier;RequestMirror;RequestRedirect;URLRewrite;ExtensionRef>
588
588
Type HTTPRouteFilterType `json:"type"`
589
589
@@ -625,7 +625,6 @@ type HTTPRouteFilter struct {
625
625
//
626
626
// Support: Extended
627
627
//
628
- // <gateway:experimental>
629
628
// +optional
630
629
URLRewrite * HTTPURLRewriteFilter `json:"urlRewrite,omitempty"`
631
630
@@ -658,6 +657,7 @@ const (
658
657
// Support in HTTPRouteRule: Extended
659
658
//
660
659
// Support in HTTPBackendRef: Extended
660
+ //
661
661
// <gateway:experimental>
662
662
HTTPRouteFilterResponseHeaderModifier HTTPRouteFilterType = "ResponseHeaderModifier"
663
663
@@ -679,8 +679,6 @@ const (
679
679
// Support in HTTPRouteRule: Extended
680
680
//
681
681
// Support in HTTPBackendRef: Extended
682
- //
683
- // <gateway:experimental>
684
682
HTTPRouteFilterURLRewrite HTTPRouteFilterType = "URLRewrite"
685
683
686
684
// HTTPRouteFilterRequestMirror can be used to mirror HTTP requests to a
@@ -817,7 +815,6 @@ const (
817
815
)
818
816
819
817
// HTTPPathModifier defines configuration for path modifiers.
820
- // <gateway:experimental>
821
818
type HTTPPathModifier struct {
822
819
// Type defines the type of path modifier. Additional types may be
823
820
// added in a future release of the API.
@@ -829,14 +826,12 @@ type HTTPPathModifier struct {
829
826
// Accepted Condition for the Route to `status: False`, with a
830
827
// Reason of `UnsupportedValue`.
831
828
//
832
- // <gateway:experimental>
833
829
// +kubebuilder:validation:Enum=ReplaceFullPath;ReplacePrefixMatch
834
830
Type HTTPPathModifierType `json:"type"`
835
831
836
832
// ReplaceFullPath specifies the value with which to replace the full path
837
833
// of a request during a rewrite or redirect.
838
834
//
839
- // <gateway:experimental>
840
835
// +kubebuilder:validation:MaxLength=1024
841
836
// +optional
842
837
ReplaceFullPath * string `json:"replaceFullPath,omitempty"`
@@ -851,7 +846,6 @@ type HTTPPathModifier struct {
851
846
// ignored. For example, the paths `/abc`, `/abc/`, and `/abc/def` would all
852
847
// match the prefix `/abc`, but the path `/abcd` would not.
853
848
//
854
- // <gateway:experimental>
855
849
// +kubebuilder:validation:MaxLength=1024
856
850
// +optional
857
851
ReplacePrefixMatch * string `json:"replacePrefixMatch,omitempty"`
@@ -892,7 +886,6 @@ type HTTPRequestRedirectFilter struct {
892
886
//
893
887
// Support: Extended
894
888
//
895
- // <gateway:experimental>
896
889
// +optional
897
890
Path * HTTPPathModifier `json:"path,omitempty"`
898
891
@@ -935,23 +928,19 @@ type HTTPRequestRedirectFilter struct {
935
928
// MUST NOT be used on the same Route rule as a HTTPRequestRedirect filter.
936
929
//
937
930
// Support: Extended
938
- //
939
- // <gateway:experimental>
940
931
type HTTPURLRewriteFilter struct {
941
932
// Hostname is the value to be used to replace the Host header value during
942
933
// forwarding.
943
934
//
944
935
// Support: Extended
945
936
//
946
- // <gateway:experimental>
947
937
// +optional
948
938
Hostname * PreciseHostname `json:"hostname,omitempty"`
949
939
950
940
// Path defines a path rewrite.
951
941
//
952
942
// Support: Extended
953
943
//
954
- // <gateway:experimental>
955
944
// +optional
956
945
Path * HTTPPathModifier `json:"path,omitempty"`
957
946
}
0 commit comments