From 6d4a4322e2dec9f6a1b96415a77e7f390e770f4f Mon Sep 17 00:00:00 2001 From: Sotiris Nanopoulos Date: Mon, 30 Oct 2023 12:39:32 -0400 Subject: [PATCH] expose the parameter in contour config parameters Signed-off-by: Sotiris Nanopoulos --- pkg/config/parameters.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkg/config/parameters.go b/pkg/config/parameters.go index 10179cc1668..c2cae4ba968 100644 --- a/pkg/config/parameters.go +++ b/pkg/config/parameters.go @@ -675,6 +675,10 @@ type Parameters struct { // Tracing holds the relevant configuration for exporting trace data to OpenTelemetry. Tracing *Tracing `yaml:"tracing,omitempty"` + // OmitRouteSorting determines if routes will be sorted by Contour before being sent to Envoy or the original order + // will be determined. Defaults to routing being sorted. + OmitRouteSorting bool `yaml:"omitRouteSorting,omitempty"` + // FeatureFlags defines toggle to enable new contour features. // available toggles are // useEndpointSlices - configures contour to fetch endpoint data