harbor run -t datacurve/kgateway-consistent-hash-policyharbor download datacurve/kgateway-consistent-hash-policyspec.consistentHash to TrafficPolicy with these sub-fields:
disable - bool that suppresses consistent hashing on a route; when true, no other fields may be setheaders - array of objects, each with headerName, optional regexRewrite (with pattern and substitution), and terminalcookies - array of objects, each with name, ttl (duration string), path, attributes (array of name/value pairs for SameSite, Secure, etc.), and terminalqueryParameters - array of objects, each with name and terminalfilterState - array of objects, each with key and terminalsourceIp - object with terminalconsistentHash is set (even as empty {}), the RouteAction must include hash_policy entries. If no sub-fields are specified, default to a single sourceIp hash policy with terminal=false.disable is true, no hash policies are produced and any inherited from broader-scoped policies are suppressed.headerName for headers, name for cookies and queryParameters, key for filterState). If duplicates exist, only the first occurrence is kept. Header deduplication is case-insensitive (HTTP headers are case-insensitive), preserving the casing of the first occurrence.regexRewrite set, the header value is rewritten using the regex before hashing.ttl accepts Go duration format (e.g. "1h30m") or plain integer seconds (e.g. "3600"). Cookie attributes are passed through to Envoy as-is.sourceIp scalar retains the higher-priority policy's value even when unset.consistentHash under the existing TrafficPolicy merge metadata key.