Skip to content

Commit 1f1e4a6

Browse files
committed
promote gep-3171
1 parent a81afe0 commit 1f1e4a6

File tree

12 files changed

+278
-40
lines changed

12 files changed

+278
-40
lines changed

apis/v1/grpcroute_types.go

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -855,7 +855,7 @@ type HTTPRouteFilter struct {
855855
//
856856
// +optional
857857
//
858-
// <gateway:experimental:validation:XValidation:message="Only one of percent or fraction may be specified in HTTPRequestMirrorFilter",rule="!(has(self.percent) && has(self.fraction))">
858+
// +kubebuilder:validation:XValidation:message="Only one of percent or fraction may be specified in HTTPRequestMirrorFilter",rule="!(has(self.percent) && has(self.fraction))"
859859
RequestMirror *HTTPRequestMirrorFilter `json:"requestMirror,omitempty"`
860860

861861
// RequestRedirect defines a schema for a filter that responds to the
@@ -1263,7 +1263,6 @@ type HTTPRequestMirrorFilter struct {
12631263
// +optional
12641264
// +kubebuilder:validation:Minimum=0
12651265
// +kubebuilder:validation:Maximum=100
1266-
// <gateway:experimental>
12671266
Percent *int32 `json:"percent,omitempty"`
12681267

12691268
// Fraction represents the fraction of requests that should be
@@ -1273,7 +1272,6 @@ type HTTPRequestMirrorFilter struct {
12731272
// is specified, 100% of requests will be mirrored.
12741273
//
12751274
// +optional
1276-
// <gateway:experimental>
12771275
Fraction *Fraction `json:"fraction,omitempty"`
12781276
}
12791277

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

Lines changed: 80 additions & 0 deletions
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

Lines changed: 160 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)