Skip to content

Commit e7f850d

Browse files
promote gep-3171 (#3638)
1 parent 10f202e commit e7f850d

File tree

8 files changed

+249
-11
lines changed

8 files changed

+249
-11
lines changed

apis/v1/grpcroute_types.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -551,7 +551,7 @@ type GRPCRouteFilter struct {
551551
//
552552
// +optional
553553
//
554-
// <gateway:experimental:validation:XValidation:message="Only one of percent or fraction may be specified in HTTPRequestMirrorFilter",rule="!(has(self.percent) && has(self.fraction))">
554+
// +kubebuilder:validation:XValidation:message="Only one of percent or fraction may be specified in HTTPRequestMirrorFilter",rule="!(has(self.percent) && has(self.fraction))"
555555
RequestMirror *HTTPRequestMirrorFilter `json:"requestMirror,omitempty"`
556556

557557
// ExtensionRef is an optional, implementation-specific extension to the

apis/v1/httproute_types.go

+1-3
Original file line numberDiff line numberDiff line change
@@ -860,7 +860,7 @@ type HTTPRouteFilter struct {
860860
//
861861
// +optional
862862
//
863-
// <gateway:experimental:validation:XValidation:message="Only one of percent or fraction may be specified in HTTPRequestMirrorFilter",rule="!(has(self.percent) && has(self.fraction))">
863+
// +kubebuilder:validation:XValidation:message="Only one of percent or fraction may be specified in HTTPRequestMirrorFilter",rule="!(has(self.percent) && has(self.fraction))"
864864
RequestMirror *HTTPRequestMirrorFilter `json:"requestMirror,omitempty"`
865865

866866
// RequestRedirect defines a schema for a filter that responds to the
@@ -1286,7 +1286,6 @@ type HTTPRequestMirrorFilter struct {
12861286
// +optional
12871287
// +kubebuilder:validation:Minimum=0
12881288
// +kubebuilder:validation:Maximum=100
1289-
// <gateway:experimental>
12901289
Percent *int32 `json:"percent,omitempty"`
12911290

12921291
// Fraction represents the fraction of requests that should be
@@ -1296,7 +1295,6 @@ type HTTPRequestMirrorFilter struct {
12961295
// is specified, 100% of requests will be mirrored.
12971296
//
12981297
// +optional
1299-
// <gateway:experimental>
13001298
Fraction *Fraction `json:"fraction,omitempty"`
13011299
}
13021300

config/crd/standard/gateway.networking.k8s.io_grpcroutes.yaml

+80
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

config/crd/standard/gateway.networking.k8s.io_httproutes.yaml

+160
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)