-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New RLP CRD version #179
Comments
In RFC 0001, we exemplified I have nothing against bringing type Selector struct {
Hostnames: []Hostname `json:"hostnames,omitempty"`
Path: []HTTPPathMatch `json:"paths,omitempty"`
Method: HTTPMethod `json:"method,omitempty"`
Headers: []HTTPHeaderMatch `json:"headers,omitempty"`
QueryParams: []HTTPQueryParamMatch `json:"queryParams,omitempty"`
} Any advantage on keeping |
That sounds good, because I also believe that |
But it wouldn't, right? The two options pitched are:
type RouteSelector struct {
Hostnames []Hostname
Matches []HTTPRouteMatch
}
type RouteSelector struct {
Hostnames: []Hostname `json:"hostnames,omitempty"`
Path: []HTTPPathMatch `json:"paths,omitempty"`
Method: HTTPMethod `json:"method,omitempty"`
Headers: []HTTPHeaderMatch `json:"headers,omitempty"`
QueryParams: []HTTPQueryParamMatch `json:"queryParams,omitempty"`
} |
Correct, updated previous comment |
Do we want In RFC 0001 |
From RFC 0001
Example with all fields:
The text was updated successfully, but these errors were encountered: