gateway api v1.1.0 standard

HTTPRoute.spec.rules[].backendRefs[].filters.requestHeaderModifier.spec.rules.filters.urlRewrite

URLRewrite defines a schema for a filter that modifies a request during forwarding. Support: Extended

2 fields
HTTPRoute.spec.rules[].backendRefs[].filters.requestHeaderModifier.spec.rules.filters.urlRewrite fields and descriptions
Field / TypeDescription
hostname
string

Hostname is the value to be used to replace the Host header value during forwarding. Support: Extended

  • minLength: 1
  • maxLength: 253
  • pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
object

Path defines a path rewrite. Support: Extended

  • x-kubernetes-validations: [{"message":"replaceFullPath must be specified when type is set to 'ReplaceFullPath'","rule":"self.type == 'ReplaceFullPath' ? has(self.replaceFullPath) : true"},{"message":"type must be 'ReplaceFullPath' when replaceFullPath is set","rule":"has(self.replaceFullPath) ? self.type == 'ReplaceFullPath' : true"},{"message":"replacePrefixMatch must be specified when type is set to 'ReplacePrefixMatch'","rule":"self.type == 'ReplacePrefixMatch' ? has(self.replacePrefixMatch) : true"},{"message":"type must be 'ReplacePrefixMatch' when replacePrefixMatch is set","rule":"has(self.replacePrefixMatch) ? self.type == 'ReplacePrefixMatch' : true"}]